summaryrefslogtreecommitdiff
path: root/src/archives.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2011-05-03 10:55:45 +0200
committerGuillem Jover <guillem@debian.org>2011-09-09 09:32:47 +0200
commit3650a669fb01737444656916a6a7a09e82800679 (patch)
tree6c4bf12d6c993e58fa63732d84bd163b4425d048 /src/archives.c
parent3416f1d5c7a78e49a52f079b1e2a8576025650cb (diff)
downloaddpkg-3650a669fb01737444656916a6a7a09e82800679.tar.gz
libdpkg: Rename fd_null_copy() to fd_skip()
Diffstat (limited to 'src/archives.c')
-rw-r--r--src/archives.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/archives.c b/src/archives.c
index f03bd5dc1..6e3640979 100644
--- a/src/archives.c
+++ b/src/archives.c
@@ -191,9 +191,9 @@ tarfile_skip_one_forward(struct tarcontext *tc, struct tar_entry *ti)
if (ti->type == tar_filetype_file) {
char fnamebuf[256];
- fd_null_copy(tc->backendpipe, ti->size,
- _("skipped unpacking file '%.255s' (replaced or excluded?)"),
- path_quote_filename(fnamebuf, ti->name, 256));
+ fd_skip(tc->backendpipe, ti->size,
+ _("skipped unpacking file '%.255s' (replaced or excluded?)"),
+ path_quote_filename(fnamebuf, ti->name, 256));
r = ti->size % TARBLKSZ;
if (r > 0)
if (fd_read(tc->backendpipe, databuf, TARBLKSZ - r) < 0)