summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-07-13 22:18:48 +0000
committerewt <devnull@localhost>1996-07-13 22:18:48 +0000
commitd2028b29aa4e34000e24ba0a696c2a1ea3e20dd6 (patch)
tree060f4624d2f212220e309aef74609ffaf5fb6d3d /lib
parentcdd4c29192131e1b6a3369b10f324928336a63da (diff)
downloadrpm-d2028b29aa4e34000e24ba0a696c2a1ea3e20dd6.tar.gz
rpm-d2028b29aa4e34000e24ba0a696c2a1ea3e20dd6.tar.bz2
rpm-d2028b29aa4e34000e24ba0a696c2a1ea3e20dd6.zip
fixed nasty bug w/ arg list passed to cpio wasn't getting NULL terminated
when a /tmp filelist was used CVS patchset: 806 CVS date: 1996/07/13 22:18:48
Diffstat (limited to 'lib')
-rw-r--r--lib/install.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/install.c b/lib/install.c
index 05c611d9c..8f364703f 100644
--- a/lib/install.c
+++ b/lib/install.c
@@ -581,9 +581,9 @@ static int installArchive(char * prefix, int fd, struct fileToInstall * files,
} else {
for (j = 0; j < fileCount; j++)
args[i++] = files[j].fileName;
-
- args[i++] = NULL;
}
+
+ args[i++] = NULL;
stream = gzdopen(fd, "r");
pipe(p);