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

Diff for /src/usr.bin/cvs/file.c between version 1.238 and 1.239

version 1.238, 2008/06/08 02:52:24 version 1.239, 2008/06/08 03:03:08
Line 341 
Line 341 
   
                                 if (cvs_directory_tag == NULL &&                                  if (cvs_directory_tag == NULL &&
                                     cvs_specified_tag != NULL)                                      cvs_specified_tag != NULL)
                                         cvs_directory_tag = cvs_specified_tag;                                          cvs_directory_tag =
                                               xstrdup(cvs_specified_tag);
   
                                 if (current_cvsroot->cr_method ==                                  if (current_cvsroot->cr_method ==
                                     CVS_METHOD_LOCAL) {                                      CVS_METHOD_LOCAL) {
Line 355 
Line 356 
                         if (cr->fileproc != NULL)                          if (cr->fileproc != NULL)
                                 cr->fileproc(cf);                                  cr->fileproc(cf);
   
                         if (l->user_supplied && cmdp->cmd_flags & CVS_LOCK_REPO)                          if (l->user_supplied) {
                                 cvs_repository_unlock(repo);                                  if (cmdp->cmd_flags & CVS_LOCK_REPO)
                                           cvs_repository_unlock(repo);
                                   if (cvs_directory_tag != NULL) {
                                           xfree(cvs_directory_tag);
                                           cvs_directory_tag = NULL;
                                   }
                           }
                 }                  }
   
                 cvs_file_free(cf);                  cvs_file_free(cf);

Legend:
Removed from v.1.238  
changed lines
  Added in v.1.239