diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-02-18 21:34:17 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-02-18 21:34:17 +0000 |
commit | acf25154a0a2b4029a194dafd41c466bc8a3472a (patch) | |
tree | ab4773383a4ed9ee5ccb52b58f981267e15db6e0 /tar.c | |
parent | ed454898f7886058cea0154f9a759a3ab236254d (diff) | |
download | busybox-w32-acf25154a0a2b4029a194dafd41c466bc8a3472a.tar.gz busybox-w32-acf25154a0a2b4029a194dafd41c466bc8a3472a.tar.bz2 busybox-w32-acf25154a0a2b4029a194dafd41c466bc8a3472a.zip |
Some updates for the day,
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@373 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'tar.c')
-rw-r--r-- | tar.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |