cvs: /php4/ext/standard string.c
| From: | Thies C. Arntzen | Date: | Tue, 04 Jan 2000 09:45:59 +0000 |
| Subject: | cvs: /php4/ext/standard string.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8899@lists.php.net to get a copy of this message | ||
thies Tue Jan 4 04:45:59 2000 EDT
Modified files:
/php4/ext/standard string.c
Log:
@- str_repeat() now returns correct length. (Thies)
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.84 php4/ext/standard/string.c:1.85
--- php4/ext/standard/string.c:1.84 Fri Dec 31 20:31:52 1999
+++ php4/ext/standard/string.c Tue Jan 4 04:45:28 2000
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.84 2000/01/01 01:31:52 sas Exp $ */
+/* $Id: string.c,v 1.85 2000/01/04 09:45:28 thies Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -2352,7 +2352,7 @@
}
result[result_len] = '\0';
- RETURN_STRINGL(result, result_len + 1, 0);
+ RETURN_STRINGL(result, result_len, 0);
}
/* }}} */