#45827 [NEW]: posix_strerror doesn't return "Success"

From: Date: Fri, 15 Aug 2008 02:11:56 +0000
Subject: #45827 [NEW]: posix_strerror doesn't return "Success"
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-128095@lists.php.net to get a copy of this message
From: felipensp at gmail dot com Operating system: FreeBSD PHP version: 5.2CVS-2008-08-15 (CVS) PHP Bug Type: POSIX related Bug description: posix_strerror doesn't return "Success" 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 bug report at http://bugs.php.net/?id=45827&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45827&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45827&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45827&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45827&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45827&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45827&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45827&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45827&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45827&r=support Expected behavior: http://bugs.php.net/fix.php?id=45827&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45827&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45827&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45827&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45827&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45827&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45827&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45827&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45827&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45827&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45827&r=mysqlcfg

« previous php.bugs (#128095) next »