aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/tar/create.c
diff options
context:
space:
mode:
authorDaniel O'Callaghan <danny@FreeBSD.org>1997-12-30 10:23:09 +0000
committerDaniel O'Callaghan <danny@FreeBSD.org>1997-12-30 10:23:09 +0000
commit52ebfb9d0f6bef4bc8fb43d7f3e2c8295b46afdb (patch)
tree6a56d3f30bee5a9190f7f3727daa788dbc087f26 /gnu/usr.bin/tar/create.c
parenta954e88d0b8249f97c29922136ce2d9687214d84 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/tar/create.c')
-rw-r--r--gnu/usr.bin/tar/create.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gnu/usr.bin/tar/create.c b/gnu/usr.bin/tar/create.c
index 00e353fe86724..793dca2784521 100644
--- a/gnu/usr.bin/tar/create.c
+++ b/gnu/usr.bin/tar/create.c
@@ -148,7 +148,7 @@ create_archive ()
while (p = name_from_list ())
dump_file (p, -1, 1);
- /* if(!f_dironly) { */
+ if(!f_dironly) {
blank_name_list ();
while (p = name_from_list ())
{
@@ -165,7 +165,7 @@ create_archive ()
}
}
}
- /* } */
+ }
free (buf);
}
else
@@ -764,10 +764,8 @@ dump_file (p, curdev, toplevel)
}
/* Now output all the files in the directory */
-#if 0
if (f_dironly)
return; /* Unless the cmdline said not to */
-#endif
/*
* See if we are crossing from one file system to another,
* and avoid doing so if the user only wants to dump one file system.