Edit report at https://bugs.php.net/bug.php?id=55555&edit=1
ID: 55555 Patch added by: datib...@php.net Reported by: datib...@php.net Summary: readlink() behaviour changed Status: Open Type: Bug Package: Filesystem function related Operating System: Linux 2.6.39+ PHP Version: 5.4SVN-2011-08-31 (SVN) Block user comment: N Private report: N New Comment: The following patch has been added/updated: Patch Name: bug55555.v1.phpt.patch Revision: 1314808677 URL: https://bugs.php.net/patch-display.php?bug=55555&patch=bug55555.v1.phpt.patch&revision=1314808677 Previous Comments: ------------------------------------------------------------------------ [2011-08-31 16:25:32] datib...@php.net The following patch has been added/updated: Patch Name: bug55555.phpt.patch Revision: 1314807932 URL: https://bugs.php.net/patch-display.php?bug=55555&patch=bug55555.phpt.patch&revision=1314807932 ------------------------------------------------------------------------ [2011-08-31 16:16:50] datib...@php.net Added a patch that should cleanly apply on PHP_5_4 ------------------------------------------------------------------------ [2011-08-31 16:16:22] datib...@php.net The following patch has been added/updated: Patch Name: bug55555.patch Revision: 1314807382 URL: https://bugs.php.net/patch-display.php?bug=55555&patch=bug55555.patch&revision=1314807382 ------------------------------------------------------------------------ [2011-08-31 16:15:21] datib...@php.net 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 this bug report at https://bugs.php.net/bug.php?id=55555&edit=1