summaryrefslogtreecommitdiff
path: root/main/streams/plain_wrapper.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmb@php.net>2015-07-02 12:16:41 +0200
committerAnatol Belski <ab@php.net>2015-07-02 14:23:07 +0200
commit58b982afed4f4a5c00190e81b229375bceabe8ab (patch)
treece386cb26833e3a133b4058752d868e00bb577e0 /main/streams/plain_wrapper.c
parenta88c68f833efeee552fdcb255787eee680a7e76e (diff)
downloadphp-git-58b982afed4f4a5c00190e81b229375bceabe8ab.tar.gz
Fix alignment on 32-bit
Diffstat (limited to 'main/streams/plain_wrapper.c')
-rw-r--r--main/streams/plain_wrapper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/streams/plain_wrapper.c b/main/streams/plain_wrapper.c
index aa1ba274e6..8122a76efe 100644
--- a/main/streams/plain_wrapper.c
+++ b/main/streams/plain_wrapper.c
@@ -121,7 +121,8 @@ typedef struct {
unsigned is_process_pipe:1; /* use pclose instead of fclose */
unsigned is_pipe:1; /* don't try and seek */
unsigned cached_fstat:1; /* sb is valid */
- unsigned is_pipe_blocking;
+ unsigned is_pipe_blocking:1; /* allow blocking read() on pipes, currently Windows only */
+ unsigned _reserved:28;
int lock_flag; /* stores the lock state */
zend_string *temp_name; /* if non-null, this is the path to a temporary file that