make it compile on Win32 (thanks to Sebastian for noticing)

This commit is contained in:
Antony Dovgal 2005-05-24 10:13:52 +00:00
parent e4c6d7708e
commit 041b37b2b9

View File

@ -154,8 +154,8 @@ PHPAPI php_stream *_php_stream_fopen_tmpfile(int dummy STREAMS_DC TSRMLS_DC)
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;