com php-src: RETURN_STRING takes the char* only now : ext/standard/link_win32.c
| From: | Pierre Joye | Date: | Thu, 15 May 2014 07:54:52 +0000 |
| Subject: | com php-src: RETURN_STRING takes the char* only now : ext/standard/link_win32.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78359@lists.php.net to get a copy of this message | ||
Commit: 526c778e91a5ec1bd49a321fd98d06bc81ac9da2
Author: Pierre Joye <pierre.php@gmail.com> Thu, 15 May 2014 09:54:52 +0200
Parents: 6a3ee297853aaf4fa17d0259fb8d0768bc143d02
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=526c778e91a5ec1bd49a321fd98d06bc81ac9da2
Log:
RETURN_STRING takes the char* only now
Changed paths:
M ext/standard/link_win32.c
Diff:
diff --git a/ext/standard/link_win32.c b/ext/standard/link_win32.c
index d410d22..41ce9d2 100644
--- a/ext/standard/link_win32.c
+++ b/ext/standard/link_win32.c
@@ -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);
}
/* }}} */