CVS update: php3/functions
| From: | andrey | Date: | Mon, 07 Jun 1999 17:25:00 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6663@lists.php.net to get a copy of this message | ||
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@hyvatti.iki.fi> |
+----------------------------------------------------------------------+
*/
-/* $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;