summaryrefslogtreecommitdiff
path: root/dpkg-deb
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-08-26 02:58:36 +0200
committerGuillem Jover <guillem@debian.org>2016-10-30 05:43:41 +0100
commit534510ae79d96691ba31d08b52c1158455a9621f (patch)
tree544ba611c07766d3bce6973e88cf3274a8bba903 /dpkg-deb
parent9d0d823be92a5931428f3c8eedb83d7a9efe2d37 (diff)
downloaddpkg-534510ae79d96691ba31d08b52c1158455a9621f.tar.gz
libdpkg: Use our own dpkg_ar_hdr instead of relying on the system one
The ar format is not standardized and some systems might provide a different format than the one used by dpkg. For example on AIX.
Diffstat (limited to 'dpkg-deb')
-rw-r--r--dpkg-deb/extract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpkg-deb/extract.c b/dpkg-deb/extract.c
index d486c6de4..5edba2dbe 100644
--- a/dpkg-deb/extract.c
+++ b/dpkg-deb/extract.c
@@ -131,7 +131,7 @@ extracthalf(const char *debar, const char *dir,
ctrllennum= 0;
header_done = false;
for (;;) {
- struct ar_hdr arh;
+ struct dpkg_ar_hdr arh;
r = fd_read(ar->fd, &arh, sizeof(arh));
if (r != sizeof(arh))