diff options
| author | Wez Furlong <wez@php.net> | 2002-09-25 15:46:47 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2002-09-25 15:46:47 +0000 |
| commit | 0141e970526bf07dc37d2519c444b6d83fe1863c (patch) | |
| tree | 045b681cf8a1e00d122b7db8183000bf80f8c622 /ext/standard/exec.c | |
| parent | 696e0a2301f2641d2ef8c4f94f0287ddbcb6ae10 (diff) | |
| download | php-git-0141e970526bf07dc37d2519c444b6d83fe1863c.tar.gz | |
Make these all work with persistent streams too.
Diffstat (limited to 'ext/standard/exec.c')
| -rw-r--r-- | ext/standard/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c index a855040a99..441ae1f665 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -732,7 +732,7 @@ PHP_FUNCTION(proc_open) php_stream *stream; int fd; - ZEND_FETCH_RESOURCE(stream, php_stream *, descitem, -1, "File-Handle", php_file_le_stream()); + php_stream_from_zval(stream, descitem); if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **)&fd, REPORT_ERRORS)) { goto exit_fail; |
