cvs: php-src /ext/standard file.c
| From: | Antony Dovgal | Date: | Tue, 12 Dec 2006 22:38:31 +0000 |
| Subject: | cvs: php-src /ext/standard file.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-42091@lists.php.net to get a copy of this message | ||
tony2001 Tue Dec 12 22:38:31 2006 UTC
Modified files:
/php-src/ext/standard file.c
Log:
erm.. somehow this part got here twice
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/file.c?r1=1.475&r2=1.476&diff_format=u
Index: php-src/ext/standard/file.c
diff -u php-src/ext/standard/file.c:1.475 php-src/ext/standard/file.c:1.476
--- php-src/ext/standard/file.c:1.475 Fri Dec 8 01:02:49 2006
+++ php-src/ext/standard/file.c Tue Dec 12 22:38:30 2006
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: file.c,v 1.475 2006/12/08 01:02:49 pollita Exp $ */
+/* $Id: file.c,v 1.476 2006/12/12 22:38:30 tony2001 Exp $ */
/* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */
@@ -1205,11 +1205,6 @@
php_stream_from_zval(stream, &zstream);
- if (length > 0) {
- /* For BC reasons, fgetss() should only return length-1 bytes. */
- length--;
- }
-
if (stream->readbuf_type == IS_UNICODE) {
UChar *buf = php_stream_get_line_ex(stream, IS_UNICODE, NULL_ZSTR, 0, length, &retlen);
UChar *allowed = NULL;