summaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
authorErik Andersen2000-01-27 19:50:47 +0000
committerErik Andersen2000-01-27 19:50:47 +0000
commitce5b466bcce4edbd8a57ed3fa91911936bd11927 (patch)
treeb49f4bb9a7eecc77307c014f8eafa1d60218da20 /tar.c
parentccc7488615f0079032d8b017f57e6bf6a994cf84 (diff)
downloadbusybox-ce5b466bcce4edbd8a57ed3fa91911936bd11927.zip
busybox-ce5b466bcce4edbd8a57ed3fa91911936bd11927.tar.gz
copyFile could call chmod on a symlink, changing the perms
of the pointed to file. Minor fix to tar for directory handling. -Erik
Diffstat (limited to 'tar.c')
-rw-r--r--tar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tar.c b/tar.c
index aedb36a..0fa09ff 100644
--- a/tar.c
+++ b/tar.c
@@ -596,6 +596,7 @@ readHeader (const TarHeader * hp, int fileCount, char **fileTable)
chmod(outName, mode);
return;
}
+ return;
}
/*