summaryrefslogtreecommitdiff
path: root/rpm2cpio.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-11-04 21:26:08 +0000
committerjbj <devnull@localhost>1999-11-04 21:26:08 +0000
commit3363604c7076329e431afdc975f205b54f088631 (patch)
treeb39815fa976ba8ac3540002db1fafcdfa0d3a75f /rpm2cpio.c
parent94dd9f796e8c8fa7b59e9690d8d0cf476313e5a5 (diff)
downloadlibrpm-tizen-3363604c7076329e431afdc975f205b54f088631.tar.gz
librpm-tizen-3363604c7076329e431afdc975f205b54f088631.tar.bz2
librpm-tizen-3363604c7076329e431afdc975f205b54f088631.zip
Use Fopen almost everywhere.
Rip out --enable-bzip2-payload, we'll use Fopen w macros instead. Work out ref counting for ftpControl so that control channel is persistent. build/build.c: Use fpio to write build stage script. parseSpec.c: Rework include stack to use FD_t, not FILE *. tread.c: Delete, use ufdio->read instead. rpmio.c: Filter out fdio fd == NULL assertion failures. rpmrc.c: Don't fail if HOME is not environment. rpmrc.c: Rework ufdio FTP rcfile I/O to be more similar to stdio. CVS patchset: 3417 CVS date: 1999/11/04 21:26:08
Diffstat (limited to 'rpm2cpio.c')
-rw-r--r--rpm2cpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm2cpio.c b/rpm2cpio.c
index 4913fe0bc..872d0db36 100644
--- a/rpm2cpio.c
+++ b/rpm2cpio.c
@@ -17,7 +17,7 @@ int main(int argc, char **argv)
if (argc == 1) {
fdi = fdDup(STDIN_FILENO);
} else {
- fdi = ufdio->open(argv[1], O_RDONLY, 0644);
+ fdi = Fopen(argv[1], "r.ufdio");
}
if (Fileno(fdi) < 0) {