]> granicus.if.org Git - php/commitdiff
Fix alignment on 32-bit
authorChristoph M. Becker <cmb@php.net>
Thu, 2 Jul 2015 10:16:41 +0000 (12:16 +0200)
committerAnatol Belski <ab@php.net>
Thu, 2 Jul 2015 12:23:07 +0000 (14:23 +0200)
main/streams/plain_wrapper.c

index aa1ba274e670bc49ba03f9f407a272b0a593815e..8122a76efe02438338ffd24533ec3f99625b30e1 100644 (file)
@@ -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