summaryrefslogtreecommitdiff
path: root/dpkg-deb/extract.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-09-10 15:37:18 +0200
committerGuillem Jover <guillem@debian.org>2014-10-06 00:48:13 +0200
commit59427cc7a4b5289168a3b6a9598fe2c0eb6bf475 (patch)
tree3aced6039d7985f6b7e7eda4eb7695cc737b7e8f /dpkg-deb/extract.c
parentf7be86add268ad27c99c86a55fb2ad12d2fc8da7 (diff)
downloaddpkg-59427cc7a4b5289168a3b6a9598fe2c0eb6bf475.tar.gz
libdpkg: Rename subproc_wait_check() to subproc_reap()
Diffstat (limited to 'dpkg-deb/extract.c')
-rw-r--r--dpkg-deb/extract.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dpkg-deb/extract.c b/dpkg-deb/extract.c
index 1da2adbec..b0b165297 100644
--- a/dpkg-deb/extract.c
+++ b/dpkg-deb/extract.c
@@ -62,7 +62,7 @@ static void movecontrolfiles(const char *thing) {
if (pid == 0) {
command_shell(buf, _("shell command to move files"));
}
- subproc_wait_check(pid, _("shell command to move files"), 0);
+ subproc_reap(pid, _("shell command to move files"), 0);
}
static void DPKG_ATTR_NORET
@@ -356,12 +356,12 @@ extracthalf(const char *debar, const char *dir,
command_exec(&cmd);
}
close(p2[0]);
- subproc_wait_check(c3, "tar", 0);
+ subproc_reap(c3, "tar", 0);
}
- subproc_wait_check(c2, _("<decompress>"), PROCPIPE);
+ subproc_reap(c2, _("<decompress>"), PROCPIPE);
if (c1 != -1)
- subproc_wait_check(c1, _("paste"), 0);
+ subproc_reap(c1, _("paste"), 0);
if (version.major == 0 && admininfo) {
/* Handle the version as a float to preserve the behaviour of old code,
* because even if the format is defined to be padded by 0's that might