From: Moriyoshi Koizumi Date: Tue, 23 Dec 2003 11:06:42 +0000 (+0000) Subject: Oops. X-Git-Tag: php-4.3.5RC1~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb74b414a80490e9d64a6ccf0ba8daff5c8120a7;p=php Oops. --- diff --git a/ext/standard/file.c b/ext/standard/file.c index d3bee95f9b..939b565834 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -2261,7 +2261,7 @@ PHP_FUNCTION(fgetcsv) s++; } /* strip trailing spaces */ - while (e >= s && isspace((int)*(unsigned char *)(--e)) && *e != delimiter); + while (--e >= s && isspace((int)*(unsigned char *)(e)) && *e != delimiter); e++; array_init(return_value);