mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
make it compile on Win32 (thanks to Sebastian for noticing)
This commit is contained in:
parent
e4c6d7708e
commit
041b37b2b9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue