aboutsummaryrefslogtreecommitdiffstats
path: root/gendepslist2.cc
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-06-13 19:02:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-06-13 19:02:19 +0000
commit5f0653f9b6beecc44cc1502487f19781f2a5ba1d (patch)
tree6fe959bc65437b4ad90aebba23ecef66bf3e6ce7 /gendepslist2.cc
parentf342d3d36fdea16725075c0b393de2ec9a7dc04b (diff)
downloadrpmtools-5f0653f9b6beecc44cc1502487f19781f2a5ba1d.tar
rpmtools-5f0653f9b6beecc44cc1502487f19781f2a5ba1d.tar.gz
rpmtools-5f0653f9b6beecc44cc1502487f19781f2a5ba1d.tar.bz2
rpmtools-5f0653f9b6beecc44cc1502487f19781f2a5ba1d.tar.xz
rpmtools-5f0653f9b6beecc44cc1502487f19781f2a5ba1d.zip
no_comment
Diffstat (limited to 'gendepslist2.cc')
-rw-r--r--gendepslist2.cc2
1 files changed, 1 insertions, 1 deletions
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);
}