iliaa Thu Feb 3 17:46:55 2005 EDT
Modified files: (Branch: PHP_4_3)
/php-src NEWS
/php-src/ext/readline readline.c
Log:
MFH: Fixed bug #31796 (readline completion handler does not handle empty
return values).
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.826&r2=1.1247.2.827&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.826 php-src/NEWS:1.1247.2.827
--- php-src/NEWS:1.1247.2.826 Wed Feb 2 22:02:07 2005
+++ php-src/NEWS Thu Feb 3 17:46:54 2005
@@ -7,6 +7,8 @@
- Fixed build system to always use bundled libtool files. (Jani)
- Fixed MacOSX shared extensions crashing on Apache startup. (Rasmus)
- Fixed bug #31797 (exif_read_data() uses too low nesting limit). (Ilia)
+- Fixed bug #31796 (readline completion handler does not handle empty return
+ values). (Ilia)
- Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar). (Ilia)
- Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings).
(elod at itfais dot com)
http://cvs.php.net/diff.php/php-src/ext/readline/readline.c?r1=1.31.2.1&r2=1.31.2.2&ty=u
Index: php-src/ext/readline/readline.c
diff -u php-src/ext/readline/readline.c:1.31.2.1
php-src/ext/readline/readline.c:1.31.2.2
--- php-src/ext/readline/readline.c:1.31.2.1 Tue Dec 31 11:35:15 2002
+++ php-src/ext/readline/readline.c Thu Feb 3 17:46:55 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: readline.c,v 1.31.2.1 2002/12/31 16:35:15 sebastian Exp $ */
+/* $Id: readline.c,v 1.31.2.2 2005/02/03 22:46:55 iliaa Exp $ */
/* {{{ includes & prototypes */
@@ -354,7 +354,7 @@
}
}
- return NULL;
+ return strdup("");
}
static zval *_readline_string_zval(const char *str)
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php