[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.228 and 1.229

version 1.228, 2008/03/09 01:02:38 version 1.229, 2008/03/09 01:25:31
Line 196 
Line 196 
 }  }
   
 struct cvs_filelist *  struct cvs_filelist *
 cvs_file_get(const char *name, int check_dir_tag, struct cvs_flisthead *fl)  cvs_file_get(const char *name, int user_supplied, struct cvs_flisthead *fl)
 {  {
         const char *p;          const char *p;
         struct cvs_filelist *l;          struct cvs_filelist *l;
Line 210 
Line 210 
   
         l = (struct cvs_filelist *)xmalloc(sizeof(*l));          l = (struct cvs_filelist *)xmalloc(sizeof(*l));
         l->file_path = xstrdup(p);          l->file_path = xstrdup(p);
         l->check_dir_tag = check_dir_tag;          l->user_supplied = user_supplied;
   
         TAILQ_INSERT_TAIL(fl, l, flist);          TAILQ_INSERT_TAIL(fl, l, flist);
         return (l);          return (l);
Line 332 
Line 332 
                 if (cf->file_type == CVS_DIR) {                  if (cf->file_type == CVS_DIR) {
                         cvs_file_walkdir(cf, cr);                          cvs_file_walkdir(cf, cr);
                 } else {                  } else {
                         if (l->check_dir_tag) {                          if (l->user_supplied) {
                                 cvs_parse_tagfile(cf->file_wd,                                  cvs_parse_tagfile(cf->file_wd,
                                     &cvs_directory_tag, NULL, NULL);                                      &cvs_directory_tag, NULL, NULL);
   

Legend:
Removed from v.1.228  
changed lines
  Added in v.1.229