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;

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

Reply via email to