aboutsummaryrefslogtreecommitdiff
path: root/tar.c
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-02-18 21:34:17 +0000
committerErik Andersen <andersen@codepoet.org>2000-02-18 21:34:17 +0000
commite272915e1ffd6978ef3555ce4ae1798a9fbcee56 (patch)
treeab4773383a4ed9ee5ccb52b58f981267e15db6e0 /tar.c
parentbf5f009862f8dbc6d767c17064380790a047cce1 (diff)
downloadbusybox-w32-e272915e1ffd6978ef3555ce4ae1798a9fbcee56.tar.gz
busybox-w32-e272915e1ffd6978ef3555ce4ae1798a9fbcee56.tar.bz2
busybox-w32-e272915e1ffd6978ef3555ce4ae1798a9fbcee56.zip
Some updates for the day,
-Erik
Diffstat (limited to 'tar.c')
-rw-r--r--tar.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tar.c b/tar.c
index 87b5d2176..8f802de64 100644
--- a/tar.c
+++ b/tar.c
@@ -596,6 +596,12 @@ readHeader(const TarHeader * hp, int fileCount, char **fileTable)
596 */ 596 */
597 if (S_ISDIR(mode)) { 597 if (S_ISDIR(mode)) {
598 if (createPath(outName, mode) == TRUE) { 598 if (createPath(outName, mode) == TRUE) {
599 /* make the final component, just in case it was
600 * omitted by createPath() (which will skip the
601 * directory if it doesn't have a terminating '/')
602 */
603 mkdir(outName, mode);
604
599 /* Set the file time */ 605 /* Set the file time */
600 utb.actime = mtime; 606 utb.actime = mtime;
601 utb.modtime = mtime; 607 utb.modtime = mtime;