Re: [PHP-DEV] ZSTR and NULL problems again

2006-04-29 Thread Frank M. Kromann
m: "Hannes Magnusson" <[EMAIL PROTECTED]> > To: "Frank M. Kromann" <[EMAIL PROTECTED]> > Cc: "Sara Golemon" <[EMAIL PROTECTED]>; "Wez Furlong" <[EMAIL PROTECTED]>; > "Andrei Zmievski" <[EMAIL PROTECTED]>; >

Re: [PHP-DEV] ZSTR and NULL problems again

2006-04-29 Thread Nuno Lopes
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

Re: [PHP-DEV] ZSTR and NULL problems again

2006-04-29 Thread Hannes Magnusson
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

Re: [PHP-DEV] ZSTR and NULL problems again

2006-04-28 Thread Frank M. Kromann
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

Re: [PHP-DEV] ZSTR and NULL problems again

2006-04-25 Thread Sara Golemon
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

Re: [PHP-DEV] ZSTR and NULL problems again

2006-04-25 Thread Frank M. Kromann
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

Re: [PHP-DEV] ZSTR and NULL problems again

2006-04-24 Thread Wez Furlong
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