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

Re: [PATCH] fixes for apr_vformatter and apr_snprintf

From: Jim Jagielski <jim_at_jaguNET.com>
Date: 2002-07-11 18:35:16 CEST

>OK, so if I make a fix to apr_psprintf to fix it, we can remove the
>kludge in vformatter?
>After that apr_snprintf returns len-1 if the data just fit and len if
>it got truncated. Is this what is wanted?

It would appear so... Certainly not being able to tell truncation
from "it just fit" is non-ideal. The "kludge" is the (sp >= beg)...INS_CHAR...
stuff right before we return cc though, right? Want to make sure that's
the code you're referring to :)

   Jim Jagielski   [|]   jim_at_jaguNET.com   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
             will lose both and deserve neither" - T.Jefferson
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 11 18:54:56 2002

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.