Gisle Vanem <[EMAIL PROTECTED]> writes:

> "Hrvoje Niksic" wrote:
>
>> In other words, large files now work on Windows?  I must admit, that
>> was almost too easy.  :-)
>
> Don't open the champagne bottle just yet :)

Too late, the bottle is already empty.  :-)

>> Now could someone try this with Borland and/or Watcom and MingW?  I'm
>> pretty sure I broke them in some places, but it's near impossible to
>> fix it without having the compilers available for testing.
>
> Patch attached.

Thanks.  Note that I fixed compilation under Borland in the meantime,
because I found that the Borland command-line tools are available for
free download.

> errno/WSAGetLastError() handling and reporting is still broken for all
> Win32 compilers. Search for SET_ERRNO() in the mail-archive.

I remember that.  At the time I disliked the idea of using the
SET/GET_ERRNO pair instead of just using and assigning to errno.
Another option was to simply set the (system) errno after the Winsock
operations, and have our own strerror that recognizes them.  (That
assumes that Winsock errno values don't conflict with the system ones,
which I believe is the case.)

Reply via email to