The following commit has been merged in the master branch:
commit 8ed2e04c2b1bfa247e34da01c0e84612ce7dc84b
Author: Guillem Jover <[email protected]>
Date:   Sun Sep 4 16:07:29 2011 +0200

    dpkg-deb: Do not warn on strange timestamps
    
    The external extractor is only used on dpkg-deb -x (and friends), which
    is only used by dpkg when extracting the control member. The internal
    dpkg tar extractor never warns on timestamps, and there's no point for
    dpkg to induce those warnings on the control extraction either.
    
    Closes: #640298

diff --git a/debian/changelog b/debian/changelog
index f50c38c..2d96535 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -209,6 +209,8 @@ dpkg (1.16.1) UNRELEASED; urgency=low
     Based on a patch by Salvatore Bonaccorso <[email protected]>.
   * Fix double “error:” string in dpkg missing PATH error output.
     Closes: #639997
+  * Do not warn on strange timestamps when unpacking with dpkg-deb.
+    Closes: #639997
 
   [ Updated dpkg translations ]
   * German (Sven Joachim). Closes: #620312
diff --git a/dpkg-deb/extract.c b/dpkg-deb/extract.c
index 737dab7..99362db 100644
--- a/dpkg-deb/extract.c
+++ b/dpkg-deb/extract.c
@@ -313,7 +313,7 @@ extracthalf(const char *debar, const char *dir, const char 
*taroption,
         }
       }
 
-      execlp(TAR, "tar", buffer, "-", NULL);
+      execlp(TAR, "tar", buffer, "-", "--warning=no-timestamp", NULL);
       ohshite(_("unable to execute %s (%s)"), "tar", TAR);
     }
     close(p2[0]);

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to