CVS update: php4/ext/standard
| From: | andrey | Date: | Wed, 09 Jun 1999 15:02:57 +0000 |
| Subject: | CVS update: php4/ext/standard | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1416@lists.php.net to get a copy of this message | ||
Date: Wednesday June 9, 1999 @ 11:02
Author: andrey
Update of /repository/php4/ext/standard
In directory php:/tmp/cvs-serv5729/ext/standard
Modified Files:
reg.c
Log Message:
Fixed a bug in preg_replace.
Index: php4/ext/standard/reg.c
diff -u php4/ext/standard/reg.c:1.13 php4/ext/standard/reg.c:1.14
--- php4/ext/standard/reg.c:1.13 Mon Jun 7 11:01:25 1999
+++ php4/ext/standard/reg.c Wed Jun 9 11:02:57 1999
@@ -28,7 +28,7 @@
| Jaakko Hyvätti <jaakko@hyvatti.iki.fi> |
+----------------------------------------------------------------------+
*/
-/* $Id: reg.c,v 1.13 1999/06/07 15:01:25 zeev Exp $ */
+/* $Id: reg.c,v 1.14 1999/06/09 15:02:57 andrey Exp $ */
#include <stdio.h>
#include "php.h"
@@ -318,8 +318,6 @@
int err, copts = 0;
string_len = strlen(string);
- if (!string_len)
- return estrndup("", 0);
if (icase)
copts = REG_ICASE;