]> granicus.if.org Git - php/commitdiff
fixed wrong number for the new option
authorAnatol Belski <ab@php.net>
Tue, 30 Jun 2015 16:05:41 +0000 (18:05 +0200)
committerAnatol Belski <ab@php.net>
Thu, 2 Jul 2015 12:22:59 +0000 (14:22 +0200)
main/php_streams.h

index 87965e2758ee2d7e695332280dd34c6e024f7c19..255b065bd4c77a555fb601d9dde820b3863063de 100644 (file)
@@ -399,9 +399,6 @@ END_EXTERN_C()
 #define PHP_STREAM_OPTION_READ_BUFFER  2
 #define PHP_STREAM_OPTION_WRITE_BUFFER 3
 
-/* Enable/disable blocking reads on anonymous pipes on Windows. */
-#define PHP_STREAM_OPTION_PIPE_BLOCKING 4
-
 #define PHP_STREAM_BUFFER_NONE 0       /* unbuffered */
 #define PHP_STREAM_BUFFER_LINE 1       /* line buffered */
 #define PHP_STREAM_BUFFER_FULL 2       /* fully buffered */
@@ -413,6 +410,9 @@ END_EXTERN_C()
 /* set or release lock on a stream */
 #define PHP_STREAM_OPTION_LOCKING              6
 
+/* Enable/disable blocking reads on anonymous pipes on Windows. */
+#define PHP_STREAM_OPTION_PIPE_BLOCKING 7
+
 /* whether or not locking is supported */
 #define PHP_STREAM_LOCK_SUPPORTED              1