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

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to