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

According to Bruno Haible on 8/30/2008 6:39 AM:
> Hi,
> 
> The documented open() bug on Solaris [7-9] and HP-UX 11.00 exists also as a
> bug in fopen(). I'm applying this to fix it:

>       * lib/fopen.c (rpl_fopen): Return NULL if the mode specifies write
>       access and the filename ends in a slash. Code copied from lib/open.c.

Should we also check for the bug, present in at least Irix 5.3, where
fopen("/dev/null/","r") succeeds instead of failing with the required
ENOTDIR?  What about working around the fact that mingw fails with EINVAL
instead of ENOTDIR?

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

Eric Blake             [EMAIL PROTECTED]
-----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

iEYEARECAAYFAkjZty8ACgkQ84KuGfSFAYB3GACfRjCGzDAvSfn5oPw8PBwWI9U2
9aIAn1ZDldJfxHmTnJIEX1bkf+M8jSgW
=1rgJ
-----END PGP SIGNATURE-----


Reply via email to