tony2001 Tue May 24 06:13:54 2005 EDT Modified files: /php-src/main/streams plain_wrapper.c Log: make it compile on Win32 (thanks to Sebastian for noticing) http://cvs.php.net/diff.php/php-src/main/streams/plain_wrapper.c?r1=1.45&r2=1.46&ty=u Index: php-src/main/streams/plain_wrapper.c diff -u php-src/main/streams/plain_wrapper.c:1.45 php-src/main/streams/plain_wrapper.c:1.46 --- php-src/main/streams/plain_wrapper.c:1.45 Mon May 23 17:48:51 2005 +++ php-src/main/streams/plain_wrapper.c Tue May 24 06:13:52 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: plain_wrapper.c,v 1.45 2005/05/23 21:48:51 iliaa Exp $ */ +/* $Id: plain_wrapper.c,v 1.46 2005/05/24 10:13:52 tony2001 Exp $ */ #include "php.h" #include "php_globals.h" @@ -154,8 +154,8 @@ if (fd != -1) { php_stream *stream = php_stream_fopen_from_fd_rel(fd, "r+b", NULL); if (stream) { - stream->wrapper = &php_plain_files_wrapper; php_stdio_stream_data *self = (php_stdio_stream_data*)stream->abstract; + stream->wrapper = &php_plain_files_wrapper; self->temp_file_name = opened_path; self->lock_flag = LOCK_UN;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php