Hello Everyone,
Here is a patch that makes it possible to compile HEAD on win32.
http://kromann.info/diff-file.c
php_stream_get_line_ex() and php_stream_get_line() are both defined as
macros where the buf parameter is replaced with ZSTR(buf). Setting buf to
NULL_ZSTR causes the function to be called with ZSTR(NULL_ZSTR) and that
does not make any sence.
Please let me know if it's ok to commit this.
- Frank
If this patch is used to fix the build, the same change need to be made in:
ext/spl/spl_directory.c
ext/standard/image.c (php_stream_gets)
sapi/cli/php_cli.c (php_stream_gets)
Frank M. Kromann wrote:
Hello Everyone,
Here is a patch that makes it possible to compile HEAD on win32.
http://kromann.info/diff-file.c
php_stream_get_line_ex() and php_stream_get_line() are both defined as
macros where the buf parameter is replaced with ZSTR(buf). Setting buf to
NULL_ZSTR causes the function to be called with ZSTR(NULL_ZSTR) and that
does not make any sence.Please let me know if it's ok to commit this.
- Frank