]> granicus.if.org Git - php/commitdiff
Fix bug #62186 readline fails to compile
authorJohannes Schlüter <johannes@php.net>
Wed, 30 May 2012 23:15:22 +0000 (01:15 +0200)
committerJohannes Schlüter <johannes@php.net>
Wed, 30 May 2012 23:15:22 +0000 (01:15 +0200)
NEWS
ext/readline/readline.c

diff --git a/NEWS b/NEWS
index 898325afd16e0ec36ec6732df12414e1d186498a..d738ebe8de307ccc3a262f5bf3183ee12066d92d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -82,7 +82,11 @@ PHP                                                                        NEWS
 - Libxml:
   . Fixed bug #61617 (Libxml tests failed(ht is already destroyed)).
     (Laruence)
-    
+
+- Readline:
+  . Fixed bug #62186 (readline fails to compile - void function should not
+    return a value). (Johannes)
+
 - Sockets:
   . Fixed bug #62025 (__ss_family was changed on AIX 5.3). (Felipe)
     
index 1054b0ea3b04c75a8265336d2f894deb50c734d9..92236a54f7e1e077abe6cb85ed42a1e18a062bf4 100644 (file)
@@ -198,7 +198,7 @@ PHP_RSHUTDOWN_FUNCTION(readline)
 
 PHP_MINFO_FUNCTION(readline)
 {
-       return PHP_MINFO(cli_readline)(ZEND_MODULE_INFO_FUNC_ARGS_PASSTHRU);
+       PHP_MINFO(cli_readline)(ZEND_MODULE_INFO_FUNC_ARGS_PASSTHRU);
 }
 
 /* }}} */