cvs: php4 /ext/standard file.c

From: Date: Sat, 12 May 2001 21:48:39 +0000
Subject: cvs: php4 /ext/standard file.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-5710@lists.php.net to get a copy of this message
wez Sat May 12 14:48:39 2001 EDT Modified files: /php4/ext/standard file.c Log: expose streams to other extensions. Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.157 php4/ext/standard/file.c:1.158 --- php4/ext/standard/file.c:1.157 Fri May 11 12:55:43 2001 +++ php4/ext/standard/file.c Sat May 12 14:48:39 2001 @@ -17,10 +17,11 @@ | Andi Gutmans <andi@zend.com> | | Zeev Suraski <zeev@zend.com> | | PHP 4.0 patches by Thies C. Arntzen (thies@thieso.net) | + | PHP 4.1 streams by Wez Furlong (wez@thebrainroom.com) | +----------------------------------------------------------------------+ */ -/* $Id: file.c,v 1.157 2001/05/11 19:55:43 jason Exp $ */ +/* $Id: file.c,v 1.158 2001/05/12 21:48:39 wez Exp $ */ /* Synced with php 3.0 revision 1.218 1999-06-16 [ssb] */ @@ -137,6 +138,11 @@ } #endif +PHPAPI int php_file_le_stream(void) +{ + return le_stream; +} + static void _file_fopen_dtor(zend_rsrc_list_entry *rsrc) { FILE *fp = (FILE *)rsrc->ptr; @@ -2428,6 +2434,7 @@ * tab-width: 4 * c-basic-offset: 4 * End: + * vim: tw=78 sw=4 ts=4 */

« previous php.cvs (#5710) next »