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

Diff for /src/usr.bin/cvs/util.c between version 1.87 and 1.88

version 1.87, 2006/06/14 15:14:47 version 1.88, 2006/06/14 20:28:53
Line 551 
Line 551 
         if (togmt == 1) {          if (togmt == 1) {
                 t = gmtime(&oldtime);                  t = gmtime(&oldtime);
                 if (t == NULL)                  if (t == NULL)
                         return (0);                          fatal("gmtime failed");
   
                 return (mktime(t));                  return (mktime(t));
         }          }
Line 562 
Line 562 
             t->tm_mon + 1, t->tm_mday, t->tm_year + 1900, t->tm_hour,              t->tm_mon + 1, t->tm_mday, t->tm_year + 1900, t->tm_hour,
             t->tm_min, t->tm_sec);              t->tm_min, t->tm_sec);
         if (l == -1 || l >= (int)sizeof(tbuf))          if (l == -1 || l >= (int)sizeof(tbuf))
                 return (0);                  fatal("cvs_hack_time: overflow");
   
         return (cvs_date_parse(tbuf));          return (cvs_date_parse(tbuf));
 }  }

Legend:
Removed from v.1.87  
changed lines
  Added in v.1.88