cvs: php4 /ext/standard streamsfuncs.c

From: Date: Tue, 18 Mar 2003 23:45:27 +0000
Subject: cvs: php4 /ext/standard streamsfuncs.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-19682@lists.php.net to get a copy of this message
wez Tue Mar 18 18:45:27 2003 EDT Modified files: /php4/ext/standard streamsfuncs.c Log: Add the mode string that was used to open the stream to the meta data, as requested by Philip Olson. Index: php4/ext/standard/streamsfuncs.c diff -u php4/ext/standard/streamsfuncs.c:1.4 php4/ext/standard/streamsfuncs.c:1.5 --- php4/ext/standard/streamsfuncs.c:1.4 Fri Feb 28 20:27:50 2003 +++ php4/ext/standard/streamsfuncs.c Tue Mar 18 18:45:27 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: streamsfuncs.c,v 1.4 2003/03/01 01:27:50 wez Exp $ */ +/* $Id: streamsfuncs.c,v 1.5 2003/03/18 23:45:27 wez Exp $ */ #include "php.h" #include "php_globals.h" @@ -309,6 +309,8 @@ } add_assoc_string(return_value, "stream_type", (char *)stream->ops->label, 1); + add_assoc_string(return_value, "mode", stream->mode, 1); + #if 0 /* TODO: needs updating for new filter API */ if (stream->filterhead) { php_stream_filter *filter;

« previous php.cvs (#19682) next »