TSRM windows bugs
| From: | Nuno Lopes | Date: | Sun, 18 Dec 2005 22:54:31 +0000 |
| Subject: | TSRM windows bugs | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-21273@lists.php.net to get a copy of this message | ||
Hi,
I've made a patch to fix some problems in TSRM on windows:
http://mega.ist.utl.pt/~ncpl/php_tsrm.txt
fixes:
* #31347 - is_dir and is_file (incorrectly) return true for any string > 255 characters - the bug is caused because the return value of virtual_file_ex() isn't tested
* save one byte and 1 sum operation :)
* make virtual_file_ex() fail earlier (and save one malloc) if the path doesn't exist.
Nuno