1 --- PHP_5_3/ext/standard/file.c 2011/05/29 09:23:08 311542
2 +++ PHP_5_3/ext/standard/file.c 2011/05/29 10:23:06 311543
3 @@ -2196,30 +2196,17 @@
4 char *comp_end, *hunk_begin;
8 - /* 1. Strip any leading space */
10 - inc_len = (bptr < limit ? (*bptr == '\0' ? 1: php_mblen(bptr, limit - bptr)): 0);
20 - if (!isspace((int)*(unsigned char *)bptr) || *bptr == delimiter) {
26 + inc_len = (bptr < limit ? (*bptr == '\0' ? 1: php_mblen(bptr, limit - bptr)): 0);
29 + while (isspace((int)*(unsigned char *)tmp)) {
32 + if (*tmp == enclosure) {
39 if (first_field && bptr == line_end) {
40 add_next_index_null(return_value);