cvs: php4 /ext/standard string.c
| From: | Sascha Schumann | Date: | Fri, 21 Sep 2001 16:17:14 +0000 |
| Subject: | cvs: php4 /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7500@lists.php.net to get a copy of this message | ||
sas Fri Sep 21 12:17:14 2001 EDT
Modified files:
/php4/ext/standard string.c
Log:
don't use boyer_str_to_str. It is experimental
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.240 php4/ext/standard/string.c:1.241
--- php4/ext/standard/string.c:1.240 Thu Sep 13 06:48:40 2001
+++ php4/ext/standard/string.c Fri Sep 21 12:17:14 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.240 2001/09/13 10:48:40 thies Exp $ */
+/* $Id: string.c,v 1.241 2001/09/21 16:17:14 sas Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -2991,7 +2991,7 @@
convert_to_string_ex(str);
/* Windows style line-endings */
- tmp = boyer_str_to_str((*str)->value.str.val, (*str)->value.str.len, "\r\n", 2,
"<br />\r\n", 8, &new_length);
+ tmp = php_str_to_str((*str)->value.str.val, (*str)->value.str.len, "\r\n", 2,
"<br />\r\n", 8, &new_length);
if (new_length != (*str)->value.str.len)
RETURN_STRINGL (tmp, new_length, 0);
efree (tmp);