aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-03-07 15:34:32 +0000
committerFrancois Pons <fpons@mandriva.com>2001-03-07 15:34:32 +0000
commita79b48256aca8870493d7e8e5a14dcde4865d361 (patch)
tree88a2fcd696cfa0aded176c34782b010523cf52ed
parent0c40d63052597530da8ed3ad6a5dde3148c56c91 (diff)
downloadrpmtools-a79b48256aca8870493d7e8e5a14dcde4865d361.tar
rpmtools-a79b48256aca8870493d7e8e5a14dcde4865d361.tar.gz
rpmtools-a79b48256aca8870493d7e8e5a14dcde4865d361.tar.bz2
rpmtools-a79b48256aca8870493d7e8e5a14dcde4865d361.tar.xz
rpmtools-a79b48256aca8870493d7e8e5a14dcde4865d361.zip
*** empty log message ***
-rw-r--r--parsehdlist.c2
-rw-r--r--rpmtools.spec5
2 files changed, 6 insertions, 1 deletions
diff --git a/parsehdlist.c b/parsehdlist.c
index 62cdeb4..46bfe6b 100644
--- a/parsehdlist.c
+++ b/parsehdlist.c
@@ -2,6 +2,7 @@
#include <sys/wait.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <signal.h>
#include <errno.h>
#include <rpm/rpmlib.h>
#include <rpm/header.h>
@@ -334,6 +335,7 @@ int main(int argc, char **argv)
}
fdClose(fd);
if (pid) {
+ kill(pid, SIGTERM);
waitpid(pid, NULL, 0);
pid = 0;
}
diff --git a/rpmtools.spec b/rpmtools.spec
index e7c4114..07b08ac 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -1,5 +1,5 @@
%define name rpmtools
-%define release 8mdk
+%define release 9mdk
# do not modify here, see Makefile in the CVS
%define version 2.3
@@ -51,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/perl5/man/*/*
%changelog
+* Wed Mar 7 2001 François Pons <fpons@mandrakesoft.com> 2.3-9mdk
+- make sure parsehdlist exit correctly.
+
* Mon Mar 5 2001 François Pons <fpons@mandrakesoft.com> 2.3-8mdk
- added requires on db2 and db3.