Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h

2001-03-12 Thread Zeev Suraski
snprintf() isn't accessible in the Zend engine... Zeev At 08:43 12/3/2001, Sebastian Bergmann wrote: Andrei Zmievski wrote: andrei Mon Mar 12 05:08:29 2001 EDT Modified files: /Zend zend_API.c zend_API.h Log: Improve zend_is_callable() to the point where

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h

2001-03-12 Thread Andrei Zmievski
Use zend_snprintf() instead or what? On Mon, 12 Mar 2001, Zeev Suraski wrote: snprintf() isn't accessible in the Zend engine... Zeev At 08:43 12/3/2001, Sebastian Bergmann wrote: Andrei Zmievski wrote: andrei Mon Mar 12 05:08:29 2001 EDT Modified files: /Zend

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h

2001-03-12 Thread Zeev Suraski
At 16:09 12/3/2001, Andrei Zmievski wrote: Use zend_snprintf() instead or what? No, it's really inaccessible :) We managed to write the engine without needing it... Is it impossible to replace it with other functions? Zeev -- PHP Development Mailing List http://www.php.net/ To

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h

2001-03-12 Thread Andrei Zmievski
On Mon, 12 Mar 2001, Jason Greene wrote: strlcpy, and strlcat are in the win32 build (main/strlcat.c main/strlcpy.c) why dont you malloc a buffer that would fit the sprintf data, and then strlcpy the size restriction? Hmm, and how would you know how big the sprintf buffer would need to be for

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h

2001-03-12 Thread Jason Greene
: ) -Jason - Original Message - From: "Andrei Zmievski" [EMAIL PROTECTED] To: "Jason Greene" [EMAIL PROTECTED] Cc: "Zeev Suraski" [EMAIL PROTECTED]; "php-dev mailinglist" [EMAIL PROTECTED] Sent: Monday, March 12, 2001 10:15 AM Subject: Re: [PHP-DEV]

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h

2001-03-12 Thread Andi Gutmans
, and then strlcpy the size restriction? -Jason - Original Message - From: "Andrei Zmievski" [EMAIL PROTECTED] To: "Zeev Suraski" [EMAIL PROTECTED] Cc: "php-dev mailinglist" [EMAIL PROTECTED] Sent: Monday, March 12, 2001 9:09 AM Subject: Re: [PHP-DEV] Re: [ZEND-

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h

2001-03-12 Thread Andrei Zmievski
On Mon, 12 Mar 2001, Andi Gutmans wrote: I commited a patch but didn't test it. Andrei, please make sure I don't have some dumb bug there. Thanks. -Andrei * Life may be expensive, but it includes an annual free trip around the sun. * -- PHP Development Mailing List http://www.php.net/ To

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h

2001-03-12 Thread Shane Caraveo
inglist" [EMAIL PROTECTED] Sent: Monday, March 12, 2001 6:09 AM Subject: Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h Use zend_snprintf() instead or what? On Mon, 12 Mar 2001, Zeev Suraski wrote: snprintf() isn't accessible in the Zend engine... Zeev At 08:43

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h

2001-03-12 Thread Andi Gutmans
: "Andrei Zmievski" [EMAIL PROTECTED] To: "Zeev Suraski" [EMAIL PROTECTED] Cc: "php-dev mailinglist" [EMAIL PROTECTED] Sent: Monday, March 12, 2001 6:09 AM Subject: Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h Use zend_snprintf() instead or what?

[PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend_API.h

2001-03-11 Thread Sebastian Bergmann
Andrei Zmievski wrote: andrei Mon Mar 12 05:08:29 2001 EDT Modified files: /Zend zend_API.c zend_API.h Log: Improve zend_is_callable() to the point where it's actually useful. Now it just needs to be invoked everywhere in PHP where a callback is expected.