open_file_for_scanning bug && patch

From: Date: Wed, 22 Nov 2000 11:06:10 +0000
Subject: open_file_for_scanning bug && patch
Groups: php.dev 
Request: Send a blank email to php-dev+get-38883@lists.php.net to get a copy of this message
Whilst developing a Zend extension, we noticed that if you call open_file_for_scanning twice (or it gets passed a file_handle that's already open) without ZTS defined, it successfully doenst reopen the file, but it *does* add it to the opened files llist again. Result is obviously a nice core file on when performing cleanup. Patch for zend-scanner.c's open_file_for_scanning function attached. Adam Wright adam@elysium.ltd.uk

Attachment: [application/octet-stream] openforscanning.patch
« previous php.dev (#38883) next »