[BACK]Return to hist.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/Attic/hist.c between version 1.1 and 1.2

version 1.1, 2004/07/13 22:02:40 version 1.2, 2004/12/06 21:03:12
Line 187 
Line 187 
         if (ret == -1) {          if (ret == -1) {
                 cvs_log(LP_ERRNO, "failed to buffer CVS history file");                  cvs_log(LP_ERRNO, "failed to buffer CVS history file");
                 return (-1);                  return (-1);
         }          } else {
         else {  
                 histp->chf_bused = (size_t)ret;                  histp->chf_bused = (size_t)ret;
         }          }
   
Line 222 
Line 221 
                          */                           */
                         histp->chf_off += (off_t)(sp - histp->chf_buf);                          histp->chf_off += (off_t)(sp - histp->chf_buf);
                         break;                          break;
                 }                  } else if (ep == bep) {
                 else if (ep == bep) {  
                         histp->chf_off += (off_t)histp->chf_bused;                          histp->chf_off += (off_t)histp->chf_bused;
                 }                  }
                 *(ep++) = '\0';                  *(ep++) = '\0';

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2