m: "Hannes Magnusson" <[EMAIL PROTECTED]>
> To: "Frank M. Kromann" <[EMAIL PROTECTED]>
> Cc: "Sara Golemon" <[EMAIL PROTECTED]>; "Wez Furlong" <[EMAIL PROTECTED]>;
> "Andrei Zmievski" <[EMAIL PROTECTED]>;
>
L PROTECTED]>;
"Andrei Zmievski" <[EMAIL PROTECTED]>;
Sent: Saturday, April 29, 2006 12:17 PM
Subject: Re: [PHP-DEV] ZSTR and NULL problems again
Hi Frank
I have now removed the ZSTR() macros from the stream macros.
Andrei will you please test that i
Hi Frank
I have now removed the ZSTR() macros from the stream macros.
Andrei will you please test that it compiles now?
http://bugs.php.net/bug.php?id=37241
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
t;[EMAIL PROTECTED]>; "Frank M. Kromann" <[EMAIL PROTECTED]>
> Sent: Monday, April 24, 2006 10:46 PM
> Subject: Re: [PHP-DEV] ZSTR and NULL problems again
>
>
> I think ZSTR(buf) should not be present in the macro:
>
> #define php_stream_get_line(stream, buf, max
rei Zmievski" <[EMAIL PROTECTED]>
Cc: "PHP Internals" ; "Dmitry Stogov"
<[EMAIL PROTECTED]>; "Frank M. Kromann" <[EMAIL PROTECTED]>
Sent: Monday, April 24, 2006 10:46 PM
Subject: Re: [PHP-DEV] ZSTR and NULL problems again
I think ZSTR(buf) sho
I Like that idea.
- Frank
> I think ZSTR(buf) should not be present in the macro:
>
> #define php_stream_get_line(stream, buf, maxlen, retlen)
>_php_stream_get_line((stream), IS_STRING, (buf), (maxlen), 0,
>(retlen) TSRMLS_CC)
>
> Let the caller apply ZSTR() to the argument manually, if
I think ZSTR(buf) should not be present in the macro:
#define php_stream_get_line(stream, buf, maxlen, retlen)
_php_stream_get_line((stream), IS_STRING, (buf), (maxlen), 0,
(retlen) TSRMLS_CC)
Let the caller apply ZSTR() to the argument manually, if that is required.
--Wez.
On 4/24/06, An