Searched hist:220376 (Results 1 - 3 of 3) sorted by relevance

/freebsd-10-stable/lib/libc/gen/
H A Derrlst.cdiff 220376 Tue Apr 05 20:03:02 MDT 2011 jilles Allow strerror(0) and strerror_r(0, ...).

Of course, strerror_r() may still fail with ERANGE.

Although the POSIX specification said this could fail with EINVAL and
doing this likely indicates invalid use of errno, most other
implementations permitted it, various POSIX testsuites require it to
work (matching the older sys_errlist array) and apparently some
applications depend on it.

PR: standards/151316
MFC after: 1 week
/freebsd-10-stable/lib/libc/string/
H A Dstrerror.3diff 220376 Tue Apr 05 20:03:02 MDT 2011 jilles Allow strerror(0) and strerror_r(0, ...).

Of course, strerror_r() may still fail with ERANGE.

Although the POSIX specification said this could fail with EINVAL and
doing this likely indicates invalid use of errno, most other
implementations permitted it, various POSIX testsuites require it to
work (matching the older sys_errlist array) and apparently some
applications depend on it.

PR: standards/151316
MFC after: 1 week
H A Dstrerror.cdiff 220376 Tue Apr 05 20:03:02 MDT 2011 jilles Allow strerror(0) and strerror_r(0, ...).

Of course, strerror_r() may still fail with ERANGE.

Although the POSIX specification said this could fail with EINVAL and
doing this likely indicates invalid use of errno, most other
implementations permitted it, various POSIX testsuites require it to
work (matching the older sys_errlist array) and apparently some
applications depend on it.

PR: standards/151316
MFC after: 1 week

Completed in 118 milliseconds