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   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
             will lose both and deserve neither" - T.Jefferson

Reply via email to