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

Diff for /src/usr.bin/cvs/rcs.c between version 1.164 and 1.165

version 1.164, 2006/04/12 22:54:23 version 1.165, 2006/04/13 19:16:15
Line 2536 
Line 2536 
         u_int j, found;          u_int j, found;
         char *c, *kwstr, *start, *end, *tbuf;          char *c, *kwstr, *start, *end, *tbuf;
         char expbuf[256], buf[256];          char expbuf[256], buf[256];
         struct tm *tb;          struct tm tb;
         char *fmt;          char *fmt;
   
         kwtype = 0;          kwtype = 0;
Line 2546 
Line 2546 
         /*          /*
          * -z support for RCS           * -z support for RCS
          */           */
         tb = &rdp->rd_date;          tb = rdp->rd_date;
         if (timezone_flag != NULL)          if (timezone_flag != NULL)
                 tb = rcs_set_tz(timezone_flag, rdp);                  rcs_set_tz(timezone_flag, rdp, &tb);
   
         /*          /*
          * Keyword formats:           * Keyword formats:
Line 2651 
Line 2651 
                                         else                                          else
                                                 fmt = "%Y/%m/%d %H:%M:%S ";                                                  fmt = "%Y/%m/%d %H:%M:%S ";
   
                                         strftime(buf, sizeof(buf), fmt, tb);                                          strftime(buf, sizeof(buf), fmt, &tb);
                                         strlcat(expbuf, buf, sizeof(expbuf));                                          strlcat(expbuf, buf, sizeof(expbuf));
                                 }                                  }
   

Legend:
Removed from v.1.164  
changed lines
  Added in v.1.165