You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jim Jagielski <ji...@jaguNET.com> on 2002/07/11 01:58:32 UTC

Re: [PATCH] fixes for apr_vformatter

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@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