dpkg-1.15.8.4
Hi,
I've packaged dpkg-1.15.8.4 and I send you new patch (that fix string
format error).
Regards
--
Sandro - kharec(at)mandriva.org
http://twitter.com/Kharec
Index: lib/dpkg/ar.c
===================================================================
--- lib/dpkg/ar.c
+++ lib/dpkg/ar.c 2010-08-23 09:26:08.000000000 +0200
@@ -97,7 +97,7 @@
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, name, "%s");
if (st.st_size & 1)
if (write(ar_fd, "\n", 1) < 0)
Index: lib/dpkg/file.c
===================================================================
--- lib/dpkg/file.c
+++ lib/dpkg/file.c 2010-08-23 09:31:26.000000000 +0200
@@ -119,8 +119,8 @@
if (fcntl(*lockfd, emsg_eagain ? F_SETLK : F_SETLKW, &fl) == -1) {
if (emsg_eagain && (errno == EACCES || errno == EAGAIN))
- ohshit(emsg_eagain);
- ohshite(emsg);
+ ohshit(emsg_eagain, "%s");
+ ohshite(emsg, "%s");
}
push_cleanup(file_unlock_cleanup, ~0, NULL, 0, 1, lockfd);
Index: utils/update-alternatives.c
===================================================================
--- utils/update-alternatives.c
+++ utils/update-alternatives.c 2010-08-23 09:49:49.000000000 +0200
@@ -1412,7 +1412,7 @@
struct fileset *fs;
for (fs = a->choices; fs; fs = fs->next)
- pr(fs->master_file);
+ pr(fs->master_file, "%s");
}
static const char *
Reply to: