ID: 11178
Updated by: sniper
Reported By: wolfram.schmidt@e-prolde
Old-Status: Feedback
Status: Closed
Bug Type: Filesystem function related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
No feedback. Should be fixed. (can't reproduce)
Previous Comments:
---------------------------------------------------------------------------
[2001-05-30 05:38:04] [EMAIL PROTECTED]
Do you have any test case that shows this possible error?
Since it works just fine for me..
--Jani
---------------------------------------------------------------------------
[2001-05-29 19:27:23] wolfram.schmidt@e-prolde
ext/standard/file.c line 1890-1917 in function fgetcsv
/* add single space - makes it easier to parse trailing null field */
*tptr++ = ' ';
*tptr = 0;
I think if FP_FGETS returns exactly len bytes and there are no traling whitespaces the
0 will be written behind the buf's end.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11178&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]