diff options
author | Guillem Jover <guillem@debian.org> | 2016-08-26 02:58:36 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-10-30 05:43:41 +0100 |
commit | 534510ae79d96691ba31d08b52c1158455a9621f (patch) | |
tree | 544ba611c07766d3bce6973e88cf3274a8bba903 /dpkg-split | |
parent | 9d0d823be92a5931428f3c8eedb83d7a9efe2d37 (diff) | |
download | dpkg-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-split')
-rw-r--r-- | dpkg-split/info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpkg-split/info.c b/dpkg-split/info.c index 57de75e9f..58d115365 100644 --- a/dpkg-split/info.c +++ b/dpkg-split/info.c @@ -93,7 +93,7 @@ read_info(struct dpkg_ar *ar, struct partinfo *ir) intmax_t templong; char magicbuf[sizeof(DPKG_AR_MAGIC) - 1], *rip, *partnums, *slash; const char *err; - struct ar_hdr arh; + struct dpkg_ar_hdr arh; ssize_t rc; rc = fd_read(ar->fd, magicbuf, sizeof(magicbuf)); |