]> Dogcows Code - chaz/tar/commitdiff
*** empty log message ***
authorFrançois Pinard <pinard@iro.umontreal.ca>
Wed, 16 Nov 1994 02:43:00 +0000 (02:43 +0000)
committerFrançois Pinard <pinard@iro.umontreal.ca>
Wed, 16 Nov 1994 02:43:00 +0000 (02:43 +0000)
src/create.c

index 1b25750ca56b8908ac8d1b2aa878f1974a0a598f..384e7a34e2594856aff3d3430cc33cc93bde53e1 100644 (file)
@@ -235,7 +235,7 @@ badfile:
        }
        
        restore_times[0] = hstat.st_atime;
-       restore_times[1] = hstat.st_utime;
+       restore_times[1] = hstat.st_mtime;
 
 #ifdef S_ISHIDDEN
        if (S_ISHIDDEN (hstat.st_mode)) {
@@ -1200,7 +1200,7 @@ start_header(name, st)
                }
        }
        strncpy(header->header.name, name, NAMSIZ);
-       header->header.name[NAMSIZE-1] = '\0';
+       header->header.name[NAMSIZ-1] = '\0';
 
        to_oct((long) (st->st_mode & 07777),
                                        8,  header->header.mode);
@@ -1337,7 +1337,6 @@ write_eot()
 }
 
 /* Write a LF_LONGLINK or LF_LONGNAME record. */
-void
 write_long (p, type)
      char *p;
      char type;
This page took 0.027142 seconds and 4 git commands to generate.