aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--gendepslist2.cc2
-rw-r--r--rpmtools.spec5
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b10643b..5c7f246 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-06-13 Pixel <pixel@mandrakesoft.com>
+
+ * gendepslist2.cc: change fclose to pclose (thanks to diablero)
+
2000-04-04 François Pons <fpons@mandrakesoft.com>
* extract_archive: allow bad file in filelist, print error but continue.
diff --git a/gendepslist2.cc b/gendepslist2.cc
index aed37ae..f132dd2 100644
--- a/gendepslist2.cc
+++ b/gendepslist2.cc
@@ -382,7 +382,7 @@ void hdlists(void (*f)(FD_t, int), const char *file, int current_hdlist) {
f(fdDup(fileno(pipe)), current_hdlist);
- if (fclose(pipe) != 0) {
+ if (pclose(pipe) != 0) {
cerr << "bad hdlist " << file << "\n";
exit(1);
}
diff --git a/rpmtools.spec b/rpmtools.spec
index 9574531..33b65b1 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -1,5 +1,5 @@
%define name rpmtools
-%define release 24mdk
+%define release 25mdk
# do not modify here, see Makefile in the CVS
%define version 1.1
@@ -59,6 +59,9 @@ rm -rf $RPM_BUILD_ROOT
/usr/bin/genfilelist
%changelog
+* Tue Jun 13 2000 Pixel <pixel@mandrakesoft.com> 1.1-25mdk
+- fix a bug in gendepslist2 (thanks to diablero)
+
* Thu Jun 08 2000 François Pons <fpons@mandrakesoft.com> 1.1-24mdk
- fixed bug in genhdlist_cz2 for multi arch management.