]> Dogcows Code - chaz/tar/blobdiff - src/names.c
ChangeLog
[chaz/tar] / src / names.c
index 73b8741858e70335c0d99c211919143cf78b1cff..0c3aebfc6cd4513cb8034bdcad37a588b728ba08 100644 (file)
@@ -289,9 +289,8 @@ static int matching_flags; /* exclude_fnmatch options */
    static storage and can't be relied upon across two calls.
 
    If CHANGE_DIRS is true, treat any entries of type NELT_CHDIR as
-   the request to change to the given directory.  If filename_terminator
-   is NUL, CHANGE_DIRS is effectively always false.
-
+   the request to change to the given directory.
+   
    Entries of type NELT_FMASK cause updates of the matching_flags
    value. */
 struct name_elt *
@@ -301,9 +300,6 @@ name_next_elt (int change_dirs)
   const char *source;
   char *cursor;
 
-  if (filename_terminator == '\0')
-    change_dirs = 0;
-
   while (name_index != names)
     {
       struct name_elt *ep;
This page took 0.023079 seconds and 4 git commands to generate.