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.

* 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]

Reply via email to