ID: 45827 Updated by: [EMAIL PROTECTED] Reported By: felipensp at gmail dot com -Status: Open +Status: Feedback Bug Type: POSIX related Operating System: FreeBSD PHP Version: 5.2CVS-2008-08-15 (CVS) New Comment:
"The strerror() function shall map the error number in errnum to a locale-dependent error message string.." See also: http://osdir.com/ml/os.freebsd.devel.standards/2003-04/msg00036.html Is this bug report about PHP or FreeBSD or about the test being completely bogus? Previous Comments: ------------------------------------------------------------------------ [2008-08-15 02:11:55] felipensp at gmail dot com Description: ------------ On FreeBSD the posix_strerror(0) doesn't return "Success" as says the documentation, thus the test ext/posix/tests/posix_strerror_variation1.phpt fails. Reproduce code: --------------- <?php print posix_strerror(0); ?> Expected result: ---------------- Success Actual result: -------------- Unknown error: 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45827&edit=1
