]> granicus.if.org Git - php/commitdiff
Stick with zend_long for ABI compatibility
authorChristoph M. Becker <cmbecker69@gmx.de>
Sun, 15 Sep 2019 13:11:25 +0000 (15:11 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sun, 15 Sep 2019 13:11:25 +0000 (15:11 +0200)
Cf. <https://github.com/php/php-src/pull/4700#issuecomment-531515689>.

ext/standard/file.h

index 70fbc798f55265abbb144aebfa1c80b652401180..54df0936d3f0eb86a8cf4d05e8737e500090bb22 100644 (file)
@@ -119,7 +119,7 @@ php_meta_tags_token php_next_meta_token(php_meta_tags_data *);
 typedef struct {
        int pclose_ret;
        size_t def_chunk_size;
-       zend_bool auto_detect_line_endings;
+       zend_long auto_detect_line_endings;
        zend_long default_socket_timeout;
        char *user_agent; /* for the http wrapper */
        char *from_address; /* for the ftp and http wrappers */