[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.242 and 1.243

version 1.242, 2008/06/09 22:31:24 version 1.243, 2008/06/12 07:16:14
Line 46 
Line 46 
 #define CVS_CHAR_ISMETA(c)      ((c == '*') || (c == '?') || (c == '['))  #define CVS_CHAR_ISMETA(c)      ((c == '*') || (c == '?') || (c == '['))
   
 extern int print_stdout;  extern int print_stdout;
   extern int build_dirs;
   
 /*  /*
  * Standard patterns to ignore.   * Standard patterns to ignore.
Line 584 
Line 585 
                 xsnprintf(fpath, sizeof(fpath), "%s/%s", cf->file_path,                  xsnprintf(fpath, sizeof(fpath), "%s/%s", cf->file_path,
                     CVS_PATH_STATICENTRIES);                      CVS_PATH_STATICENTRIES);
   
                 if (stat(fpath, &st) == -1)                  if (stat(fpath, &st) == -1 || build_dirs == 1)
                         cvs_repository_getdir(repo, cf->file_path, &fl, &dl,                          cvs_repository_getdir(repo, cf->file_path, &fl, &dl,
                             (cr->flags & CR_RECURSE_DIRS));                              (cr->flags & CR_RECURSE_DIRS));
         }          }

Legend:
Removed from v.1.242  
changed lines
  Added in v.1.243