Bug #55555 [NEW]: readlink() behaviour changed
| From: | datibbaw@php.net | Date: | Wed, 31 Aug 2011 16:15:21 +0000 |
| Subject: | Bug #55555 [NEW]: readlink() behaviour changed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-163194@lists.php.net to get a copy of this message | ||
From: datibbaw
Operating system: Linux 2.6.39+
PHP version: 5.4SVN-2011-08-31 (SVN)
Package: Filesystem function related
Bug Type: Bug
Bug description:readlink() behaviour changed
Description:
------------
From Linux kernels 2.6.39 onwards, readlink() returns EINVAL instead of
ENOENT. This causes the wrong error message to be shown.
Test script:
---------------
Test case: ext/standard/tests/file/readlink_realpath_variation3.phpt
--
Edit bug report at https://bugs.php.net/bug.php?id=55555&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55555&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55555&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55555&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55555&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55555&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55555&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55555&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55555&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55555&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55555&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55555&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55555&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55555&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55555&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55555&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55555&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55555&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55555&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55555&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55555&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55555&r=mysqlcfg