[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.159 and 1.160

version 1.159, 2009/02/21 14:50:53 version 1.160, 2009/02/23 21:32:08
Line 48 
Line 48 
   
 static int nflag = 0;  static int nflag = 0;
   
   static char lastwd[MAXPATHLEN];
 char *checkout_target_dir = NULL;  char *checkout_target_dir = NULL;
   
 time_t cvs_specified_date = -1;  time_t cvs_specified_date = -1;
Line 591 
Line 592 
                         (void)unlink(cf->file_path);                          (void)unlink(cf->file_path);
                         cvs_merge_file(cf, (cvs_join_rev1 == NULL));                          cvs_merge_file(cf, (cvs_join_rev1 == NULL));
                         tosend = cf->file_path;                          tosend = cf->file_path;
                   }
   
                   /*
                    * If this file has a tag, push out the Directory with the
                    * tag to the client.
                    */
                   if (tag != NULL && strcmp(cf->file_wd, lastwd)) {
                           strlcpy(lastwd, cf->file_wd, MAXPATHLEN);
                           cvs_server_set_sticky(cf->file_wd, sticky);
                 }                  }
   
                 if (co_flags & CO_COMMIT)                  if (co_flags & CO_COMMIT)

Legend:
Removed from v.1.159  
changed lines
  Added in v.1.160