svn commit: r250245 - head/lib/libc/locale
David Chisnall
theraven at FreeBSD.org
Sun May 5 21:03:28 UTC 2013
On 5 May 2013, at 19:31, Andrey Chernov <ache at FreeBSD.org> wrote:
> It is better to fix this function return type to match POSIX standard
> rather than to document its non-standard behavior. We try to follow
> POSIX when possible and this is the case.
We follow Darwin in this case, which returns 0 on success or -1 on error. 'Fixing' this will break code written for Darwin and testing the return value. Not fixing it will not break POSIX code that ignores the (unexpected) return value.
David
More information about the svn-src-all
mailing list