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 an arbitrary format and arguments? :) In my case it's much simpler, so yes, I could do that, but otherwise.. That's why Glib has g_strdup_printf() function.. quite nice. -Andrei * If it ain't broken, it doesn't have enough features yet. * -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_API.c zend... Sebastian Bergmann
- Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend_A... Zeev Suraski
- Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / ze... Andrei Zmievski
- Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend ... Zeev Suraski
- Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Z... Andrei Zmievski
- Re: [PHP-DEV] Re: [ZEND-ENGINE] c... Jason Greene
- Re: [PHP-DEV] Re: [ZEND-ENGIN... Andrei Zmievski
- Re: [PHP-DEV] Re: [ZEND-E... Jason Greene
- Re: [PHP-DEV] Re: [ZEND-ENGIN... Andi Gutmans
- Re: [PHP-DEV] Re: [ZEND-E... Andrei Zmievski
- Re: [PHP-DEV] Re: [ZEND-E... Sebastian Bergmann
- Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend ... Shane Caraveo
- Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Z... Andi Gutmans
- Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Z... Zeev Suraski