Re: cvs: php-src(PHP_4_3) /ext/standard file.c
| From: | Moriyoshi Koizumi | Date: | Sun, 07 Dec 2003 02:23:06 +0000 |
| Subject: | Re: cvs: php-src(PHP_4_3) /ext/standard file.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-25006@lists.php.net to get a copy of this message | ||
Hi,
+ /* strip leading spaces */ + while (isspace(*s) && *s != delimiter) { + s++; + } + /* strip trailing spaces */ + while (isspace(*(--e)) && *e != delimiter); + e++; <snip>
+ if (php_stream_get_line(stream, buf, len, &buf_len) == NULL) { + goto enclosure_done; + } + s = p = buf; + re = e = buf + buf_len; + /* strip trailing spaces */ + while (isspace(*(--e)) && *e != delimiter); + e++; + }Looks like cast is missing at each isspace()..? Moriyoshi