cvs: php4 /ext/standard file.c

From: Date: Wed, 14 Nov 2001 12:57:07 +0000
Subject: cvs: php4 /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8207@lists.php.net to get a copy of this message
sterling Wed Nov 14 07:57:07 2001 EDT Modified files: /php4/ext/standard file.c Log: Many other reasons that setvbuf can fail than "wrong arguments", returning false should be enough Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.193 php4/ext/standard/file.c:1.194 --- php4/ext/standard/file.c:1.193 Sun Nov 11 15:33:27 2001 +++ php4/ext/standard/file.c Wed Nov 14 07:57:06 2001 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.193 2001/11/11 20:33:27 jeroen Exp $ */ +/* $Id: file.c,v 1.194 2001/11/14 12:57:06 sterling Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -1391,9 +1391,6 @@ ret = setvbuf((FILE *) what, NULL, _IOFBF, buff); } - if (ret) { - php_error(E_WARNING, "Illegal value for set_file_buffer()"); - } RETURN_LONG(ret); } /* }}} */

« previous php.cvs (#8207) next »