ID: 31572 User updated by: teasoft at 21cn dot com Reported By: teasoft at 21cn dot com -Status: No Feedback +Status: Open Bug Type: GD related Operating System: win32 only PHP Version: 4CVS-2005-01-19 Assigned To: iliaa New Comment:
It's my first time to look into the source codes of PHP. I found line 1716 in gd.c: while ((b = fread(buf, 1, sizeof(buf), tmp)) > 0) is it means a NOT empty file? and i notice .tmp files left are all 0 byte, simply empty. Maybe try >=0 instead will work? Previous Comments: ------------------------------------------------------------------------ [2005-02-10 01:00:06] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2005-02-02 16:59:46] [EMAIL PROTECTED] Cannot replicate using latest cvs. The temporary file removal code is identical in *NIX and Win32 ------------------------------------------------------------------------ [2005-01-19 17:23:02] teasoft at 21cn dot com The snapshot for Windows provided above does the same thing as 4.3.10, tmp files are still created and remain. ------------------------------------------------------------------------ [2005-01-16 16:12:36] teasoft at 21cn dot com Description: ------------ "Bug #30658 Temporary files are not deleted" was fixed in linux versions, but is NOT fixed in Windows versions. Temporary files are still created and not deleted once creating images using gd2. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31572&edit=1