pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files/create Sync with basesrc:
details: https://anonhg.NetBSD.org/pkgsrc/rev/a569c643467b
branches: trunk
changeset: 502654:a569c643467b
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Nov 07 22:57:48 2005 +0000
description:
Sync with basesrc:
Replace wait(2) with equivalent waitpid(2); for Linux, reported by wulf@
on tech-pkg.
diffstat:
pkgtools/pkg_install/files/create/perform.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 37f20ffd90e8 -r a569c643467b pkgtools/pkg_install/files/create/perform.c
--- a/pkgtools/pkg_install/files/create/perform.c Mon Nov 07 22:30:13 2005 +0000
+++ b/pkgtools/pkg_install/files/create/perform.c Mon Nov 07 22:57:48 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: perform.c,v 1.8 2004/12/29 12:16:56 agc Exp $ */
+/* $NetBSD: perform.c,v 1.9 2005/11/07 22:57:48 wiz Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -11,7 +11,7 @@
#if 0
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.38 1997/10/13 15:03:51 jkh Exp";
#else
-__RCSID("$NetBSD: perform.c,v 1.8 2004/12/29 12:16:56 agc Exp $");
+__RCSID("$NetBSD: perform.c,v 1.9 2005/11/07 22:57:48 wiz Exp $");
#endif
#endif
@@ -174,7 +174,7 @@
}
fclose(totar);
- wait(&ret);
+ waitpid(-1, &ret, 0);
/* assume either signal or bad exit is enough for us */
if (ret) {
cleanup(0);
Home |
Main Index |
Thread Index |
Old Index