[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 176 - trunk/subversion/libsvn_client

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-09-28 21:57:01 CEST

Branko =?ISO-8859-2?Q?=C8ibej?= <brane@xbc.nu> writes:

> snprintf is in C99, but not in C89. The Windows libc /does// /have
> _snprintf, but it behaves somewhat strangely in that it won't
> null-terminate your buffer the string is too long; it'll return a
> negative value instead, and quietly let you run off the end of the
> buffer if you don't check for that.
> Anyway, what's APR for, if not for portability?

Oh, I agree... APR's function was a better choice regardless. :-)

I was just shocked at the statement that Win32 didn't have snprintf.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:42 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.