Date: 04/29/98
- Next message: zeev: "[PHP-DEV] CVS update: php3/functions"
- Previous message: Yann Doussot: "[PHP-DEV] Re: Bug #323 Updated: Warning 'palloc' redefined"
- Next in thread: zeev: "[PHP-DEV] CVS update: php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wednesday April 29, 1998 @ 10:24
Author: zeev
Update of /repository/php3
In directory asf:/tmp/cvs-serv12393
Modified Files:
ChangeLog
Log Message:
Fix fpassthru():
A resource that's in the resource list must *ONLY* be handled by its destructors, and
never destroyed manually. When the resource is no longer needed, one should delete
it from the list using php3_list_delete(), which in turn, would run the registered
destructors on it.
In this case, the file pointer was being both closed manually, and implicitly by
the registered resource list destructor. I commented out the manual closing,
since the author *might* have done this intentionally for some reason (either way
it has to be fixed, since it was crashing).
Index: php3/ChangeLog
diff -c php3/ChangeLog:1.309 php3/ChangeLog:1.310
*** php3/ChangeLog:1.309 Wed Apr 29 08:50:24 1998
--- php3/ChangeLog Wed Apr 29 10:24:27 1998
***************
*** 1,6 ****
--- 1,7 ----
PHP 3.0 CHANGE LOG ChangeLog
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
April ?? Version 3.0
+ - Fixed a bug in fpassthru() (the file was being closed twice).
- Added strftime().
- Add set_blocking() function to control blocking on socket fd's
- The sendmail_path in php3.ini was being ignored - fixed.
- Next message: zeev: "[PHP-DEV] CVS update: php3/functions"
- Previous message: Yann Doussot: "[PHP-DEV] Re: Bug #323 Updated: Warning 'palloc' redefined"
- Next in thread: zeev: "[PHP-DEV] CVS update: php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

