cvs: php4 /ext/standard file.c

From: Date: Sun, 18 Nov 2001 03:34:23 +0000
Subject: cvs: php4 /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8234@lists.php.net to get a copy of this message
sniper Sat Nov 17 22:34:23 2001 EDT Modified files: /php4/ext/standard file.c Log: WS fix Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.194 php4/ext/standard/file.c:1.195 --- php4/ext/standard/file.c:1.194 Wed Nov 14 07:57:06 2001 +++ php4/ext/standard/file.c Sat Nov 17 22:34:23 2001 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.194 2001/11/14 12:57:06 sterling Exp $ */ +/* $Id: file.c,v 1.195 2001/11/18 03:34:23 sniper Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -481,7 +481,7 @@ break; case 2: if (zend_get_parameters_ex(2, &filename, &arg2) == FAILURE) { - WRONG_PARAM_COUNT; + WRONG_PARAM_COUNT; } convert_to_long_ex(arg2); use_include_path = Z_LVAL_PP(arg2); @@ -527,13 +527,13 @@ } if (!reached_eof) { target_len += strlen(target_buf+target_len); - if (target_buf[target_len-1]!='\n') { + if (target_buf[target_len-1] != '\n') { continue; } } if (PG(magic_quotes_runtime)) { slashed = php_addslashes(target_buf, target_len, &len, 1 TSRMLS_CC); /* 1 = free source string */ - add_index_stringl(return_value, i++, slashed, len, 0); + add_index_stringl(return_value, i++, slashed, len, 0); } else { target_buf = erealloc(target_buf, target_len+1); /* do we really want to do that? */ add_index_stringl(return_value, i++, target_buf, target_len, 0);

« previous php.cvs (#8234) next »