tags 488104 fixed-upstream thanks fixed in upstream 3.02.
On Thu, Jun 26, 2008 at 2:09 PM, Reuben Thomas <[EMAIL PROTECTED]> wrote: > Package: manpages-dev > Version: 2.77 > Severity: normal > > > The man page says: > > The function setvbuf() returns 0 on success. It can return any value on > failure, but returns nonzero when mode is invalid or the request cannot > be honored. > > Reading carefully, this suggests that it can return 0 on failure. > However, it returns non-zero when the mode is valid or the request > cannot be honored. What other sort of failure is there? If the mode is > valid and the request has been honored, it seems we're doing pretty > well... Yes, the wording looks nonsensical, and isn't consistent with the source code or with POSIX.1 either. I removed the "return any value on failure" and rewrote the sentence accordingly. Thanks, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

