[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.133 and 1.134

version 1.133, 2008/02/09 12:48:23 version 1.134, 2008/02/09 17:01:43
Line 423 
Line 423 
         time_t rcstime;          time_t rcstime;
         CVSENTRIES *ent;          CVSENTRIES *ent;
         struct timeval tv[2];          struct timeval tv[2];
           struct tm *datetm;
         char *tosend;          char *tosend;
         char template[MAXPATHLEN], entry[CVS_ENT_MAXLINELEN];          char template[MAXPATHLEN], entry[CVS_ENT_MAXLINELEN];
         char kbuf[8], sticky[CVS_REV_BUFSZ], rev[CVS_REV_BUFSZ];          char kbuf[8], sticky[CVS_REV_BUFSZ], rev[CVS_REV_BUFSZ];
Line 495 
Line 496 
         if (co_flags & CO_SETSTICKY)          if (co_flags & CO_SETSTICKY)
                 if (tag != NULL)                  if (tag != NULL)
                         (void)xsnprintf(sticky, sizeof(sticky), "T%s", tag);                          (void)xsnprintf(sticky, sizeof(sticky), "T%s", tag);
                 else                  else if (cvs_specified_date != 0) {
                           datetm = gmtime(&cvs_specified_date);
                           strftime(sticky, sizeof(sticky), "D%Y.%m.%d.%H.%M.%S",
                               datetm);
                   } else
                         (void)xsnprintf(sticky, sizeof(sticky), "T%s", rev);                          (void)xsnprintf(sticky, sizeof(sticky), "T%s", rev);
         else if (!reset_tag && cf->file_ent != NULL &&          else if (!reset_tag && cf->file_ent != NULL &&
             cf->file_ent->ce_tag != NULL)              cf->file_ent->ce_tag != NULL)

Legend:
Removed from v.1.133  
changed lines
  Added in v.1.134