apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [PATCH] fixes for apr_vformatter
Date Thu, 11 Jul 2002 01:58:32 GMT
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;


    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

View raw message