This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch master
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=3391b1f3d9f5e7ce9e08ec635350fc383187e685

commit 3391b1f3d9f5e7ce9e08ec635350fc383187e685
Author: Guillem Jover <[email protected]>
AuthorDate: Wed Mar 6 03:52:10 2019 +0100

    libdpkg: Add a new TAR_FORMAT_UNKNOWN enum value
    
    This will make it possible to have a value denoting an unknown format,
    when we initialize the tar_entry or tar_archive structs.
---
 debian/changelog | 1 +
 lib/dpkg/tarfn.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d9313e4c1..07c381ae5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 dpkg (1.19.6) UNRELEASED; urgency=medium
 
   [ Guillem Jover ]
+  * libdpkg: Add a new TAR_FORMAT_UNKNOWN enum value.
   * Packaging:
     - Update usertags.
     - Install a lintian profile for dpkg based on the debian profile, so that
diff --git a/lib/dpkg/tarfn.h b/lib/dpkg/tarfn.h
index 0302fb8a9..38ab9a9fe 100644
--- a/lib/dpkg/tarfn.h
+++ b/lib/dpkg/tarfn.h
@@ -38,6 +38,7 @@
 #define TARBLKSZ       512
 
 enum tar_format {
+       TAR_FORMAT_UNKNOWN,
        TAR_FORMAT_OLD,
        TAR_FORMAT_GNU,
        TAR_FORMAT_USTAR,

-- 
Dpkg.Org's dpkg

Reply via email to