Bug report for fputs()

Eric Blake ebb9@byu.net
Fri Aug 17 15:18:00 GMT 2007


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

According to Olivier Langlois on 8/15/2007 11:21 AM:
> You're right. This is not a bug. In my mind, non-negative meant positive but note that both glibc and MSCRT return a positive number to indicate success.

But BSD returns 0, and newlib borrowed from the BSD code base.  The world
isn't glibc and Windows.  For this case, newlib is already compliant, so
there is no need to change it; but if you really want, submit a patch that
makes it behave like glibc, and we will review it.

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

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

iD8DBQFGxSN+84KuGfSFAYARAt9HAJ0buMxgO0B7enjlnbs7PtiC46GStwCgvdwa
6gq9W7weF3ehR2pw+PIkqFU=
=23v2
-----END PGP SIGNATURE-----



More information about the Newlib mailing list