TSRM windows bugs

php.internals

Nuno Lopes

20 years ago
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