patch for freopen(NULL,...)

Eric Blake ebb9@byu.net
Tue Jan 10 13:43:00 GMT 2006


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

According to Jeff Johnston on 1/9/2006 10:54 AM:
> Patch checked in with minor modifications.  A check was required for
> HAVE_FCNTL before using _fcntl_r.  I also initialized e which was
> generating a warning message because of the new if clause.

Phooey - I botched the patch.  Please check in this correction:

2006-01-10  Eric Blake  <ebb9@byu.net>

	* libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
	* libc/stdio64/freopen64.c (_freopen64_r): Likewise.

- --
Life is short - so eat dessert first!

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

iD8DBQFDw7nr84KuGfSFAYARAlCEAKDGWwM/FLYteXvYz9lLix4Jw+2bKgCeNK48
UyL/CYPb1mrOHL+k/OXSUxc=
=MSzn
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib.patch1
URL: <http://sourceware.org/pipermail/newlib/attachments/20060110/719a7d21/attachment.ksh>


More information about the Newlib mailing list