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

Diff for /src/usr.bin/cvs/checkout.c between version 1.61 and 1.62

version 1.61, 2006/06/06 06:58:46 version 1.62, 2006/06/14 20:28:53
Line 201 
Line 201 
   
         if (exists == 0) {          if (exists == 0) {
                 rcstime = rcs_rev_getdate(cf->file_rcs, rnum);                  rcstime = rcs_rev_getdate(cf->file_rcs, rnum);
                 if ((rcstime = cvs_hack_time(rcstime, 0)) == 0)                  rcstime = cvs_hack_time(rcstime, 0);
                         fatal("cvs_checkout_file: time conversion failed");  
         } else {          } else {
                 time(&rcstime);                  time(&rcstime);
         }          }
Line 213 
Line 212 
         if (futimes(cf->fd, tv) == -1)          if (futimes(cf->fd, tv) == -1)
                 fatal("cvs_checkout_file: futimes: %s", strerror(errno));                  fatal("cvs_checkout_file: futimes: %s", strerror(errno));
   
         if ((rcstime = cvs_hack_time(rcstime, 1)) == 0)          rcstime = cvs_hack_time(rcstime, 1);
                 fatal("cvs_checkout_file: to gmt failed");  
   
         ctime_r(&rcstime, tbuf);          ctime_r(&rcstime, tbuf);
         if (tbuf[strlen(tbuf) - 1] == '\n')          if (tbuf[strlen(tbuf) - 1] == '\n')

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62