cvs: php4 /ext/standard string.c
| From: | Sean Bright | Date: | Sat, 28 Apr 2001 23:07:52 +0000 |
| Subject: | cvs: php4 /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5354@lists.php.net to get a copy of this message | ||
elixer Sat Apr 28 16:07:52 2001 EDT
Modified files:
/php4/ext/standard string.c
Log:
Fix for bug #10362
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.194 php4/ext/standard/string.c:1.195
--- php4/ext/standard/string.c:1.194 Fri Apr 13 11:22:13 2001
+++ php4/ext/standard/string.c Sat Apr 28 16:07:51 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.194 2001/04/13 18:22:13 thies Exp $ */
+/* $Id: string.c,v 1.195 2001/04/28 23:07:51 elixer Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -2768,6 +2768,8 @@
lc = '(';
br++;
}
+ } else if (state == 1) {
+ *(tp++) = c;
} else if (state == 0) {
*(rp++) = c;
}
@@ -2779,6 +2781,8 @@
lc = ')';
br--;
}
+ } else if (state == 1) {
+ *(tp++) = c;
} else if (state == 0) {
*(rp++) = c;
}