cvs: /php4 TODO /php4/ext/standard string.c
| From: | Andrei Zmievski | Date: | Thu, 27 Apr 2000 14:41:19 +0000 |
| Subject: | cvs: /php4 TODO /php4/ext/standard string.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14080@lists.php.net to get a copy of this message | ||
andrei Thu Apr 27 07:41:19 2000 EDT
Modified files:
/php4 TODO
/php4/ext/standard string.c
Log:
TODO update and fix for C++ comments.
Index: php4/TODO
diff -u php4/TODO:1.69 php4/TODO:1.70
--- php4/TODO:1.69 Tue Apr 25 17:29:58 2000
+++ php4/TODO Thu Apr 27 07:41:18 2000
@@ -71,7 +71,7 @@
ext/standard
------------
* add a version number to data serialized via serialize().
- * array_add(), array_rand() (Andrei)
+ * array_add(), array_rand(), array_uniq() (Andrei)
* implement pathinfo() (what the heck is it?)
* possibly modify parsing of GPC data to automatically create arrays if
variable name is seen more than once.
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.108 php4/ext/standard/string.c:1.109
--- php4/ext/standard/string.c:1.108 Tue Apr 25 18:16:57 2000
+++ php4/ext/standard/string.c Thu Apr 27 07:41:18 2000
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.108 2000/04/26 01:16:57 sterling Exp $ */
+/* $Id: string.c,v 1.109 2000/04/27 14:41:18 andrei Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -2511,7 +2511,7 @@
php_error(E_WARNING, "Empty substring");
RETURN_FALSE;
} else if ((*needle)->value.str.len == 1) {
- // Special optimized case to avoid calls to php_memnstr
+ /* Special optimized case to avoid calls to php_memnstr(). */
for (i = 0, p = (*haystack)->value.str.val,
length = (*haystack)->value.str.len, cmp = (*needle)->value.str.val[0];
i < length; i++) {