comment cleanup
authorTim Riker <tim@rikers.org>
Fri, 22 Jun 2001 00:27:11 +0000 (00:27 -0000)
committerTim Riker <tim@rikers.org>
Fri, 22 Jun 2001 00:27:11 +0000 (00:27 -0000)
archival/tar.c
libbb/unarchive.c
tar.c

index e68194ff79ef65d12589682c9a8b5c5f7e32bb4f..c18e66fd209b96ac6107e1198294d36f1e4be08a 100644 (file)
@@ -403,7 +403,7 @@ tarExtractDirectory(TarInfo *header, int extractFlag, int tostdoutFlag)
                return( FALSE);
        }
        /* make the final component, just in case it was
-        * omitted by create_path() (which will skip the
+        * omitted by make_directory() (which will skip the
         * directory if it doesn't have a terminating '/') */
        if (mkdir(header->name, header->mode) < 0 && errno != EEXIST) {
                perror_msg("%s", header->name);
index 3fbd6ef313d4a75d321f28660c6634faca963aee..f396bd724d08a3d91f9eacdfb3a1d1f70c9c51a8 100644 (file)
@@ -139,8 +139,7 @@ char *extract_archive(FILE *src_stream, FILE *out_stream, const file_header_t *f
                                }
                                break;
                        case S_IFDIR:
-                               /* Use create_path instead of mkdir incase prefix path
-                                * hasnt been created */
+                               /* Use make_directory instead of mkdir in case prefix path hasn't been created */
                                if (function & extract_create_dirs) {
                                        if (make_directory(full_name, file_entry->mode, FILEUTILS_RECUR) < 0) {
                                                return NULL;
diff --git a/tar.c b/tar.c
index e68194ff79ef65d12589682c9a8b5c5f7e32bb4f..c18e66fd209b96ac6107e1198294d36f1e4be08a 100644 (file)
--- a/tar.c
+++ b/tar.c
@@ -403,7 +403,7 @@ tarExtractDirectory(TarInfo *header, int extractFlag, int tostdoutFlag)
                return( FALSE);
        }
        /* make the final component, just in case it was
-        * omitted by create_path() (which will skip the
+        * omitted by make_directory() (which will skip the
         * directory if it doesn't have a terminating '/') */
        if (mkdir(header->name, header->mode) < 0 && errno != EEXIST) {
                perror_msg("%s", header->name);