The following commit has been merged in the master branch:
commit 2d0ebab0474fc83f07ed4f648fdb85443b1bfd2b
Author: Guillem Jover <[email protected]>
Date:   Mon Nov 1 20:31:25 2010 +0100

    libdpkg: Rename DecodeTarHeader to tar_header_decode

diff --git a/lib/dpkg/tarfn.c b/lib/dpkg/tarfn.c
index 3d61502..403216a 100644
--- a/lib/dpkg/tarfn.c
+++ b/lib/dpkg/tarfn.c
@@ -159,7 +159,7 @@ get_unix_mode(struct tar_header *h)
 }
 
 static int
-DecodeTarHeader(char *block, struct tar_entry *d)
+tar_header_decode(char *block, struct tar_entry *d)
 {
        struct tar_header *h = (struct tar_header *)block;
        unsigned char *s = (unsigned char *)block;
@@ -248,7 +248,7 @@ tar_extractor(void *ctx, const struct tar_operations *ops)
        while ((status = ops->read(ctx, buffer, TARBLKSZ)) == TARBLKSZ) {
                int name_len;
 
-               if (!DecodeTarHeader(buffer, &h)) {
+               if (!tar_header_decode(buffer, &h)) {
                        if (h.name[0] == '\0') {
                                /* End of tape. */
                                status = 0;

-- 
dpkg's main repository


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

Reply via email to