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

Diff for /src/usr.bin/cvs/entries.c between version 1.75 and 1.76

version 1.75, 2007/02/22 06:42:09 version 1.76, 2007/05/16 20:51:22
Line 159 
Line 159 
                 else {                  else {
                         if (strptime(fields[3], "%a %b %d %T %Y", &t) == NULL)                          if (strptime(fields[3], "%a %b %d %T %Y", &t) == NULL)
                                 fatal("'%s' is not a valid date", fields[3]);                                  fatal("'%s' is not a valid date", fields[3]);
                         t.tm_isdst = 0;  
                           t.tm_isdst = -1;        /* Figure out DST. */
                         t.tm_gmtoff = 0;                          t.tm_gmtoff = 0;
                         ent->ce_mtime = mktime(&t);                          ent->ce_mtime = mktime(&t);
                         ent->ce_mtime += t.tm_gmtoff;                          ent->ce_mtime += t.tm_gmtoff;

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76