[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

From: Jim Jagielski <jim_at_jaguNET.com>
Date: 2002-07-11 03:58:32 CEST

I'm guessing that if we *do* need to determine the diff between truncation
and "just fits" we'd need to change the below

    if (sp >= bep) {
       if (flush_func(vbuff))
          return -1;
    }
    return cc;

to

    if (sp > bep) {
       if (flush_func(vbuff))
          return -1;
    }
    return cc;

since we have a *sp++ to deal with in INS_CHAR (as we want to be defensive
in the coding). But again, the deal is whether that behavior is a documented
feature or bug.
--
===========================================================================
   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 17:38:45 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.