• chris@cnpbagwell.com's avatar
    Fix sanei_tcp_read(). Revert some getopt logic. · 581b94fb
    chris@cnpbagwell.com authored
    * sanei/sanie_tcp.c, backend/epson2_net.c: Update
    sanei_tcp_read() to better simulate old behavior of MSG_WAITALL.
    recv() tends to return MTU sized chunks of data without that option.  And at
    least cygwin doesn't support MSG_WAITALL.  Re-enable epson2 using that
    function for big recieves.
    * libgetopt.c, libgetopt1.c:
    Revert some logic meant to be used only when we were always compiling
    interal getopt() functions.  Fix header filename.
getopt1.c 4.66 KB