pollita         Thu May  6 10:29:33 2004 EDT

  Modified files:              
    /php-src/ext/standard       user_filters.c 
    /php-src/main/streams       userspace.c 
    /php-src    NEWS 
  Log:
  Bugfix #28300 Userspace stream/filter names don't need to be lowercased.
  
http://cvs.php.net/diff.php/php-src/ext/standard/user_filters.c?r1=1.26&r2=1.27&ty=u
Index: php-src/ext/standard/user_filters.c
diff -u php-src/ext/standard/user_filters.c:1.26 
php-src/ext/standard/user_filters.c:1.27
--- php-src/ext/standard/user_filters.c:1.26    Wed May  5 14:18:56 2004
+++ php-src/ext/standard/user_filters.c Thu May  6 10:29:32 2004
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: user_filters.c,v 1.26 2004/05/05 18:18:56 pollita Exp $ */
+/* $Id: user_filters.c,v 1.27 2004/05/06 14:29:32 pollita Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -525,7 +525,6 @@
 
        fdat = ecalloc(1, sizeof(*fdat) + classname_len);
        memcpy(fdat->classname, classname, classname_len);
-       zend_str_tolower(fdat->classname, classname_len);
 
        if (zend_hash_add(BG(user_filter_map), filtername, filtername_len, (void*)fdat,
                                sizeof(*fdat) + classname_len, NULL) == SUCCESS &&
http://cvs.php.net/diff.php/php-src/main/streams/userspace.c?r1=1.24&r2=1.25&ty=u
Index: php-src/main/streams/userspace.c
diff -u php-src/main/streams/userspace.c:1.24 php-src/main/streams/userspace.c:1.25
--- php-src/main/streams/userspace.c:1.24       Wed May  5 14:18:57 2004
+++ php-src/main/streams/userspace.c    Thu May  6 10:29:32 2004
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: userspace.c,v 1.24 2004/05/05 18:18:57 pollita Exp $ */
+/* $Id: userspace.c,v 1.25 2004/05/06 14:29:32 pollita Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -414,7 +414,6 @@
        uwrap->wrapper.wops = &user_stream_wops;
        uwrap->wrapper.abstract = uwrap;
 
-       zend_str_tolower(uwrap->classname, classname_len);
        rsrc_id = ZEND_REGISTER_RESOURCE(NULL, uwrap, le_protocols);
        
        if (zend_lookup_class(uwrap->classname, classname_len, 
(zend_class_entry***)&uwrap->ce TSRMLS_CC) == SUCCESS) {
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1704&r2=1.1705&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1704 php-src/NEWS:1.1705
--- php-src/NEWS:1.1704 Wed May  5 14:18:57 2004
+++ php-src/NEWS        Thu May  6 10:29:33 2004
@@ -2,6 +2,7 @@
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2004, PHP 5 Release Candidate 3
 - You may now use count() on COM arrays. (Wez)
+- Fixed bug #28300 (Userspace stream/filter names forced to lowercase). (Sara)
 - Fixed bug #28287 (stream_*_register() not calling __autoload()). (Sara)
 - Fixed bug #28161 (COM: Array style properties could not be accessed). (Wez)
 - Fixed bug #28125 (ArrayObject leaks when accessing elements). (Marcus)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to