bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] make EAGAIN == EWOULDBLOCK on Windows


From: Eric Blake
Subject: Re: [PATCH] make EAGAIN == EWOULDBLOCK on Windows
Date: Fri, 03 Oct 2008 07:46:08 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Paolo Bonzini on 10/3/2008 7:27 AM:
> This patch tweaks the mapping of error codes in the errno module and in
> winsock.c, so that under mingw EWOULDBLOCK is not different from EAGAIN.
>  It was inspired by the flock patch.

I'm in favor of the patch; this is the one shared mapping permitted by
POSIX 2001 (POSIX 200x, now ratified by IEEE but still awaiting ISO
ratification [1], adds the EOPNOTSUPP/ENOTSUP pairing, as on Linux, but
Bruno wanted to delay on that front [2]).

[1] http://www.opengroup.org/austin/mailarchives/ag/msg11759.html
[2] http://lists.gnu.org/archive/html/bug-gnulib/2008-09/msg00161.html

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjmIiAACgkQ84KuGfSFAYBjeQCgkmVDMQJJQUAm5RnNte6Cvw/P
TRAAn2G3BLSn5wBs0TDSLpBeNRHnmhob
=Xivt
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]