cvs: php4 /ext/standard file.c
| From: | Sean Bright | Date: | Thu, 05 Jul 2001 23:29:13 +0000 |
| Subject: | cvs: php4 /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6101@lists.php.net to get a copy of this message | ||
elixer Thu Jul 5 19:29:13 2001 EDT
Modified files:
/php4/ext/standard file.c
Log:
This should be lower-cased per the documentation and previous
implementation.
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.165 php4/ext/standard/file.c:1.166
--- php4/ext/standard/file.c:1.165 Sun Jul 1 10:07:44 2001
+++ php4/ext/standard/file.c Thu Jul 5 19:29:11 2001
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.165 2001/07/01 14:07:44 elixer Exp $ */
+/* $Id: file.c,v 1.166 2001/07/05 23:29:11 elixer Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -426,6 +426,8 @@
in_tag = 1;
} else if (tok == TOK_CLOSETAG) {
if (have_name) {
+ /* For BC */
+ php_strtolower(name, strlen(name));
if (have_content) {
add_assoc_string(return_value, name, value, 0);
} else {