Date: 06/07/99
- Next message: cmv: "[PHP-DEV] CVS update: php3"
- Previous message: Jouni Ahto: "Re: [PHP-DEV] oops .. problem with date()"
- Next in thread: cmv: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Monday June 7, 1999 @ 13:25
Author: andrey
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv7200/functions
Modified Files:
reg.c
Log Message:
I don't think those lines are needed, otherwise ereg_replace("^", "X", "")
returns empty string instead of "X".
Index: php3/functions/reg.c
diff -u php3/functions/reg.c:1.101 php3/functions/reg.c:1.102
--- php3/functions/reg.c:1.101 Sat Jun 5 10:17:31 1999
+++ php3/functions/reg.c Mon Jun 7 13:25:00 1999
@@ -28,7 +28,7 @@
| Jaakko Hyvätti <jaakko <email protected>> |
+----------------------------------------------------------------------+
*/
-/* $Id: reg.c,v 1.101 1999/06/05 14:17:31 andrey Exp $ */
+/* $Id: reg.c,v 1.102 1999/06/07 17:25:00 andrey Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
#endif
@@ -295,8 +295,6 @@
int err, copts = 0;
string_len = strlen(string);
- if (!string_len)
- return (char *)string;
if (icase)
copts = REG_ICASE;
-- PHP Development Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: cmv: "[PHP-DEV] CVS update: php3"
- Previous message: Jouni Ahto: "Re: [PHP-DEV] oops .. problem with date()"
- Next in thread: cmv: "[PHP-DEV] CVS update: php3/functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

