Re: svn commit: r295631 - head/lib/libc/stdio

2016-02-15 Thread Pedro Giffuni
On 02/15/16 13:32, Conrad Meyer wrote: On Mon, Feb 15, 2016 at 10:13 AM, Pedro F. Giffuni wrote: Author: pfg Date: Mon Feb 15 18:13:33 2016 New Revision: 295631 URL: https://svnweb.freebsd.org/changeset/base/295631 ... Note that this implementation convention cannot be adhered to for strin

Re: svn commit: r295631 - head/lib/libc/stdio

2016-02-15 Thread Conrad Meyer
On Mon, Feb 15, 2016 at 10:13 AM, Pedro F. Giffuni wrote: > Author: pfg > Date: Mon Feb 15 18:13:33 2016 > New Revision: 295631 > URL: https://svnweb.freebsd.org/changeset/base/295631 > ... > Note that this implementation convention cannot be adhered to for strings > longer than {INT_MAX} byte

Re: svn commit: r295631 - head/lib/libc/stdio

2016-02-15 Thread Pedro Giffuni
On 02/15/16 15:48, Bruce Evans wrote: On Mon, 15 Feb 2016, Pedro F. Giffuni wrote: Log: fputs: Return the number of bytes written. POSIX.1-2008 requires that successful completion simply return a non-negative integer. We have regularly returned a constant value. Another, equally valid, i

Re: svn commit: r295631 - head/lib/libc/stdio

2016-02-15 Thread Bruce Evans
On Mon, 15 Feb 2016, Pedro F. Giffuni wrote: Log: fputs: Return the number of bytes written. POSIX.1-2008 requires that successful completion simply return a non-negative integer. We have regularly returned a constant value. Another, equally valid, implementation convention implies returnin

svn commit: r295631 - head/lib/libc/stdio

2016-02-15 Thread Pedro F. Giffuni
Author: pfg Date: Mon Feb 15 18:13:33 2016 New Revision: 295631 URL: https://svnweb.freebsd.org/changeset/base/295631 Log: fputs: Return the number of bytes written. POSIX.1-2008 requires that successful completion simply return a non-negative integer. We have regularly returned a constan