com php-src: fixed wrong number for the new option: main/php_streams.h
| From: | Anatol Belski | Date: | Thu, 02 Jul 2015 12:22:59 +0000 |
| Subject: | com php-src: fixed wrong number for the new option: main/php_streams.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-87699@lists.php.net to get a copy of this message | ||
Commit: d6130fada6f13933dbf11b50d5cc6c50763d23c3
Author: Anatol Belski <ab@php.net> Tue, 30 Jun 2015 18:05:41 +0200
Parents: 4e5758f37741187c5d5d61c5dcb3f0a472890195
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d6130fada6f13933dbf11b50d5cc6c50763d23c3
Log:
fixed wrong number for the new option
Changed paths:
M main/php_streams.h
Diff:
diff --git a/main/php_streams.h b/main/php_streams.h
index 87965e2..255b065 100644
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -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