]> Dogcows Code - chaz/tar/blobdiff - src/extract.c
*** empty log message ***
[chaz/tar] / src / extract.c
index 91a991adea795d6e28c433c52cca5cf327e1c26f..b717114e3d638f857f84d10fb7943dc19362ea56 100644 (file)
@@ -1,5 +1,5 @@
 /* Extract files from a tar archive.
-   Copyright (C) 1988, 1992 Free Software Foundation
+   Copyright (C) 1988, 1992, 1993 Free Software Foundation
 
 This file is part of GNU Tar.
 
@@ -153,8 +153,6 @@ extract_archive ()
   union record *exhdr;
   struct saved_dir_info *tmp;
   /*   int end_nulls; */
-  char **longp;
-  char *bp;
 
   saverec (&head);             /* Make sure it sticks around */
   userec (head);               /* And go past it in the archive */
@@ -818,7 +816,8 @@ extract_sparse_file (fd, sizeleft, totalsize, name)
        }
       else if (count != written)
        {
-         msg ("could only write %d of %d bytes to file %s", totalsize - *sizeleft, totalsize, name);
+         msg ("could only write %d of %d bytes to file %s", count, 
+              totalsize, name);
          skip_file ((long) (*sizeleft));
        }
 
@@ -842,7 +841,6 @@ void
 restore_saved_dir_info ()
 {
   struct utimbuf acc_upd_times;
-  struct saved_dir_info *tmp;
 
   while (saved_dir_info_head != NULL)
     {
This page took 0.025142 seconds and 4 git commands to generate.