]> Dogcows Code - chaz/tar/blobdiff - src/extract.c
*** empty log message ***
[chaz/tar] / src / extract.c
index aedd24e312132055835ed007c6ea36f852966154..639f05a020fa49738b9c7dce09c1e4d620f0c020 100644 (file)
@@ -1,5 +1,5 @@
 /* Extract files from a tar archive.
-   Copyright (C) 1988 Free Software Foundation
+   Copyright (C) 1988, 1992 Free Software Foundation
 
 This file is part of GNU Tar.
 
@@ -40,10 +40,6 @@ time_t time();
 #endif
 #endif
 
-#if defined(POSIX)
-#include <utime.h>
-#endif
-
 #ifdef NO_OPEN3
 /* We need the #define's even though we don't use them. */
 #include "open3.h"
@@ -57,6 +53,10 @@ time_t time();
 #include "tar.h"
 #include "port.h"
 
+#if defined(_POSIX_VERSION)
+#include <utime.h>
+#endif
+
 extern FILE *msg_file;
 
 extern union record *head;             /* Points to current tape header */
@@ -94,6 +94,15 @@ static int notumask = ~0;            /* Masks out bits user doesn't want */
 /* number of elts storable in the sparsearray */
 /*int  sp_array_size = 10;*/
 
+struct saved_info
+{
+  char *path;
+  int mode;
+  int atime;
+  int mtime;
+  saved_info *next;
+};
+
 /*
  * Set up to extract files.
  */
This page took 0.021017 seconds and 4 git commands to generate.