cvs: php4(PHP_4_2_0) /ext/standard string.c
| From: | Rasmus Lerdorf | Date: | Thu, 16 May 2002 14:53:14 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11951@lists.php.net to get a copy of this message | ||
rasmus Thu May 16 10:53:14 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/ext/standard string.c
Log:
MFH just in case
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.263.2.4 php4/ext/standard/string.c:1.263.2.5
--- php4/ext/standard/string.c:1.263.2.4 Thu Apr 25 10:52:58 2002
+++ php4/ext/standard/string.c Thu May 16 10:53:12 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.263.2.4 2002/04/25 14:52:58 hirokawa Exp $ */
+/* $Id: string.c,v 1.263.2.5 2002/05/16 14:53:12 rasmus Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -2129,7 +2129,7 @@
t = str;
if (PG(magic_quotes_sybase)) {
- while (l >= 0) {
+ while (l > 0) {
if(*t=='\'') {
if((l>0) && (t[1]=='\'')) {
t++;