Remove unbalanced parentheses in an error message (#10420)

This commit is contained in:
Kamil Tekiela 2023-01-23 12:28:21 +00:00 committed by GitHub
parent b60761ab97
commit 670f1aa477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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 ***

View 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)

View File

@ -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