summaryrefslogtreecommitdiff
path: root/rpm.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1997-06-02 14:01:29 +0000
committerewt <devnull@localhost>1997-06-02 14:01:29 +0000
commitfccf9d02490fac351968d8d75247605adc4af096 (patch)
tree203f677af094733798a1ea84aa9caa6ec0105734 /rpm.c
parentc428a31fe6ff1fb402e28df30ea39f9521c6d60d (diff)
downloadrpm-fccf9d02490fac351968d8d75247605adc4af096.tar.gz
rpm-fccf9d02490fac351968d8d75247605adc4af096.tar.bz2
rpm-fccf9d02490fac351968d8d75247605adc4af096.zip
Use pclose() w/ popen(), not fclose()
CVS patchset: 1677 CVS date: 1997/06/02 14:01:29
Diffstat (limited to 'rpm.c')
-rwxr-xr-xrpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm.c b/rpm.c
index cd8ce9503..311dbe4cb 100755
--- a/rpm.c
+++ b/rpm.c
@@ -380,7 +380,7 @@ static int build(char *arg, int buildAmount, char *passPhrase,
unlink(tmpSpecFile);
return 1;
}
- fclose(f);
+ pclose(f);
cmd = specfile = buf;
while (*cmd) {