cvs: php-src(PHP_4_3) /main rfc1867.c
| From: | Stefan Esser | Date: | Sun, 02 May 2004 10:17:36 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /main rfc1867.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-27239@lists.php.net to get a copy of this message | ||
sesser Sun May 2 06:17:36 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src/main rfc1867.c
Log:
MFH
http://cvs.php.net/diff.php/php-src/main/rfc1867.c?r1=1.122.2.17&r2=1.122.2.18&ty=u
Index: php-src/main/rfc1867.c
diff -u php-src/main/rfc1867.c:1.122.2.17 php-src/main/rfc1867.c:1.122.2.18
--- php-src/main/rfc1867.c:1.122.2.17 Thu Feb 12 13:36:57 2004
+++ php-src/main/rfc1867.c Sun May 2 06:17:36 2004
@@ -16,7 +16,7 @@
| Jani Taskinen <sniper@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: rfc1867.c,v 1.122.2.17 2004/02/12 18:36:57 sesser Exp $ */
+/* $Id: rfc1867.c,v 1.122.2.18 2004/05/02 10:17:36 sesser Exp $ */
/*
* This product includes software developed by the Apache Group
@@ -147,7 +147,7 @@
/* and remove it */
if (s != varname) {
- memcpy(varname, s, strlen(s)+1);
+ memmove(varname, s, strlen(s)+1);
}
for (p=varname; *p && *p != '['; p++) {
@@ -178,7 +178,7 @@
indexend = indexend ? indexend + 1 : index + strlen(index);
if (s != index) {
- memcpy(s, index, strlen(s)+1);
+ memmove(s, index, strlen(index)+1);
s += indexend-index;
} else {
s = indexend;