[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.87 and 1.88

version 1.87, 2008/02/04 15:08:44 version 1.88, 2008/02/04 18:23:58
Line 421 
Line 421 
 }  }
   
 void  void
 cvs_write_tagfile(const char *dir, char *tag, char *date, int nb)  cvs_write_tagfile(const char *dir, char *tag, char *date)
 {  {
         FILE *fp;          FILE *fp;
           RCSNUM *rev;
         char tagpath[MAXPATHLEN];          char tagpath[MAXPATHLEN];
         char sticky[CVS_REV_BUFSZ];          char sticky[CVS_REV_BUFSZ];
         int i;          int i;
   
           cvs_log(LP_TRACE, "cvs_write_tagfile(%s, %s, %s)", dir,
               tag != NULL ? tag : "", date != NULL ? date : "");
   
         if (cvs_noexec == 1)          if (cvs_noexec == 1)
                 return;                  return;
   
Line 445 
Line 449 
                 }                  }
   
                 if (tag != NULL) {                  if (tag != NULL) {
                         if (nb != 0) {                          if ((rev = rcsnum_parse(tag)) != NULL) {
                                 (void)xsnprintf(sticky, sizeof(sticky),                                  (void)xsnprintf(sticky, sizeof(sticky),
                                     "N%s", tag);                                      "N%s", tag);
                                   rcsnum_free(rev);
                         } else {                          } else {
                                 (void)xsnprintf(sticky, sizeof(sticky),                                  (void)xsnprintf(sticky, sizeof(sticky),
                                     "T%s", tag);                                      "T%s", tag);

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