Some updates for the day,

-Erik
This commit is contained in:
Erik Andersen
2000-02-18 21:34:17 +00:00
parent bf5f009862
commit e272915e1f
19 changed files with 128 additions and 53 deletions

View File

@@ -596,6 +596,12 @@ readHeader(const TarHeader * hp, int fileCount, char **fileTable)
*/
if (S_ISDIR(mode)) {
if (createPath(outName, mode) == TRUE) {
/* make the final component, just in case it was
* omitted by createPath() (which will skip the
* directory if it doesn't have a terminating '/')
*/
mkdir(outName, mode);
/* Set the file time */
utb.actime = mtime;
utb.modtime = mtime;