mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Remove unbalanced parentheses in an error message (#10420)
This commit is contained in:
parent
b60761ab97
commit
670f1aa477
@ -75,7 +75,7 @@ PHP_FUNCTION(readlink)
|
||||
|
||||
if (ret == -1) {
|
||||
#ifdef PHP_WIN32
|
||||
php_error_docref(NULL, E_WARNING, "readlink failed to read the symbolic link (%s), error %d)", link, GetLastError());
|
||||
php_error_docref(NULL, E_WARNING, "readlink failed to read the symbolic link (%s), error %d", link, GetLastError());
|
||||
#else
|
||||
php_error_docref(NULL, E_WARNING, "%s", strerror(errno));
|
||||
#endif
|
||||
|
@ -25,7 +25,7 @@ echo "Done\n";
|
||||
--EXPECTF--
|
||||
*** Testing readlink() on a non-existent link ***
|
||||
|
||||
Warning: readlink(): readlink failed to read the symbolic link (%s, error %d) in %s on line %d
|
||||
Warning: readlink(): readlink failed to read the symbolic link (%s), error %d in %s on line %d
|
||||
bool(false)
|
||||
|
||||
*** Testing readlink() on existing file ***
|
||||
|
@ -76,7 +76,7 @@ string(%d) "%s%ereadlink_realpath_variation2%ehome%etests%elink%ereadlink_realpa
|
||||
Warning: symlink(): No such file or directory in %s on line %d
|
||||
bool(false)
|
||||
|
||||
Warning: readlink(): readlink failed to read the symbolic link (%s) in %s on line %d
|
||||
Warning: readlink(): readlink failed to read the symbolic link (%s), error %d in %s on line %d
|
||||
bool(false)
|
||||
bool(false)
|
||||
|
||||
@ -90,7 +90,7 @@ string(%d) "%s%ereadlink_realpath_variation2%ehome%etests%elink%ereadlink_realpa
|
||||
Warning: link(): No such file or directory in %s on line %d
|
||||
bool(false)
|
||||
|
||||
Warning: readlink(): readlink failed to read the symbolic link (%s) in %s on line %d
|
||||
Warning: readlink(): readlink failed to read the symbolic link (%s), error %d in %s on line %d
|
||||
bool(false)
|
||||
bool(false)
|
||||
|
||||
|
@ -28,9 +28,9 @@ echo "Done\n";
|
||||
--EXPECTF--
|
||||
Warning: symlink(): No such file or directory in %srename_variation7-win32.php on line %d
|
||||
|
||||
Warning: readlink(): readlink failed to read the symbolic link (%srename_variation7-win32.php.tmp.link), error 2) in %srename_variation7-win32.php on line %d
|
||||
Warning: readlink(): readlink failed to read the symbolic link (%srename_variation7-win32.php.tmp.link), error 2 in %srename_variation7-win32.php on line %d
|
||||
bool(false)
|
||||
|
||||
Warning: readlink(): readlink failed to read the symbolic link (%srename_variation7-win32.php.tmp.link2), error 2) in %srename_variation7-win32.php on line %d
|
||||
Warning: readlink(): readlink failed to read the symbolic link (%srename_variation7-win32.php.tmp.link2), error 2 in %srename_variation7-win32.php on line %d
|
||||
bool(false)
|
||||
Done
|
||||
|
Loading…
Reference in New Issue
Block a user