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

Diff for /src/usr.bin/mail/fio.c between version 1.28 and 1.29

version 1.28, 2007/05/25 21:27:16 version 1.29, 2007/09/10 14:29:53
Line 91 
Line 91 
                 msgCount = 0;                  msgCount = 0;
         } else {          } else {
                 /* Seek into the file to get to the new messages */                  /* Seek into the file to get to the new messages */
                 (void)fseeko(ibuf, offset, 0);                  (void)fseeko(ibuf, offset, SEEK_SET);
                 /*                  /*
                  * We need to make "offset" a pointer to the end of                   * We need to make "offset" a pointer to the end of
                  * the temp file that has the copy of the mail file.                   * the temp file that has the copy of the mail file.
Line 268 
Line 268 
 {  {
   
         fflush(otf);          fflush(otf);
         if (fseek(itf, (long)positionof(mp->m_block, mp->m_offset), 0) < 0)          if (fseek(itf, (long)positionof(mp->m_block, mp->m_offset), SEEK_SET)
               < 0)
                 err(1, "fseek");                  err(1, "fseek");
         return(itf);          return(itf);
 }  }

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29