]> granicus.if.org Git - php/commitdiff
RETURN_STRING takes the char* only now
authorPierre Joye <pierre.php@gmail.com>
Thu, 15 May 2014 07:54:52 +0000 (09:54 +0200)
committerPierre Joye <pierre.php@gmail.com>
Thu, 15 May 2014 07:54:52 +0000 (09:54 +0200)
ext/standard/link_win32.c

index d410d223fba956ab3db594fe8184af85ff1a42df..41ce9d20dfbd9d92c34c7f584d72447a105aa739 100644 (file)
@@ -78,7 +78,7 @@ PHP_FUNCTION(readlink)
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "readlink failed to read the symbolic link (%s), error %d)", link, GetLastError());
                RETURN_FALSE;
        }
-       RETURN_STRING(target, 1);
+       RETURN_STRING(target);
 }
 /* }}} */