From 534510ae79d96691ba31d08b52c1158455a9621f Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 26 Aug 2016 02:58:36 +0200 Subject: 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. --- dpkg-split/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dpkg-split') 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)); -- cgit v1.2.3