On Fri, 21 Dec 2001, Michael Stefaniuc wrote: > On Fri, Dec 21, 2001 at 01:52:12PM -0800, Medland, Bill wrote: > > Bill Medland ([EMAIL PROTECTED]) > > Don't ask me why but on my setup vsnprintf returned a value greater than > This is the new and correct behavior according to the C99 standard. All > snprintf function should return in error case the number of characters > that would have been written to the buffer if the size of buffer would > have been big enough. > This change while usefull will brake a lot of things. IMO the glibc is > still using the old behavior.
By the way did someone do a systematic check for this problem? Might be worth it... -- Francois Gouget [EMAIL PROTECTED] http://fgouget.free.fr/ "Utilisateur" (nom commun) : Mot utilisé par les informaticiens en lieu et place d'"idiot".