The following commit has been merged in the master branch: commit 309d92878a7572032ea3f97f0bc3e1971f8db18d Author: Guillem Jover <guil...@debian.org> Date: Wed Sep 1 09:43:30 2010 +0200
libdpkg: Clarify fd_fd_copy error string in dpkg_ar_member_put_header This makes the error string clearer, and as a side effect removes a bogus warning due to the non literal format string, which is perfectly fine here as it's under complete control from the programmer. Reported-by: Sandro Cazzaniga <cazzaniga.san...@gmail.com> diff --git a/lib/dpkg/ar.c b/lib/dpkg/ar.c index b8d5475..28ce001 100644 --- a/lib/dpkg/ar.c +++ b/lib/dpkg/ar.c @@ -97,7 +97,7 @@ dpkg_ar_member_put_file(const char *ar_name, int ar_fd, dpkg_ar_member_put_header(ar_name, ar_fd, name, st.st_size); /* Copy data contents. */ - fd_fd_copy(fd, ar_fd, -1, name); + fd_fd_copy(fd, ar_fd, -1, _("ar member file (%s)"), name); if (st.st_size & 1) if (write(ar_fd, "\n", 1) < 0) -- dpkg's main repository -- To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org