From: Antony Dovgal Date: Wed, 27 Dec 2006 15:22:46 +0000 (+0000) Subject: fix php_stream_u_get_line() macro X-Git-Tag: RELEASE_1_0_0RC1~483 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=867d6380a8b253cff368e900aff09d4aa39bdae3;p=php fix php_stream_u_get_line() macro --- diff --git a/main/php_streams.h b/main/php_streams.h index f53563d57f..ea6336658a 100755 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -335,7 +335,7 @@ PHPAPI UChar *php_stream_get_record_unicode(php_stream *stream, size_t maxlen, s PHPAPI UChar *_php_stream_u_get_line(php_stream *stream, UChar *buf, int32_t *pmax_bytes, int32_t *pmax_chars, int *pis_unicode TSRMLS_DC); -#define php_stream_u_get_line(stream, buf, maxlen_buf, maxlen_chars, buf_type) _php_stream_u_get_line((stream), (buf), (maxlen_buf), (maxlen_chars), (buf_type) TSRMLS_CC) +#define php_stream_u_get_line(stream, buf, maxlen_buf, maxlen_chars, retlen) _php_stream_get_line((stream), IS_UNICODE, (buf), (maxlen_buf), (maxlen_chars), (retlen) TSRMLS_CC) /* CAREFUL! this is equivalent to puts NOT fputs! */ PHPAPI int _php_stream_puts(php_stream *stream, char *buf TSRMLS_DC);