summaryrefslogtreecommitdiff
path: root/rpm2cpio.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-11-02 14:33:14 +0000
committerjbj <devnull@localhost>1999-11-02 14:33:14 +0000
commit7fc3a97733080a03e8bb3872bd37019db483b93c (patch)
tree3a61e2602283c9adf7441ed5acd1068cbf16fd98 /rpm2cpio.c
parent65a08c9e60c0bff0e09cfdcc98ca97910ab24ac5 (diff)
downloadlibrpm-tizen-7fc3a97733080a03e8bb3872bd37019db483b93c.tar.gz
librpm-tizen-7fc3a97733080a03e8bb3872bd37019db483b93c.tar.bz2
librpm-tizen-7fc3a97733080a03e8bb3872bd37019db483b93c.zip
Add ref/deref/new/fileno/open vectors to FDIO_t.
Hide fdOpen/ufdOpen, use {fdio,ufdio}->open throughout. url.c: Create ref counted abstract urlinfo type with debugging. url.c: Rename functions to urlNew/urlFree/urlFreeCache for consistency. rpmio.c: Create ref counted abstract FD_t type with debugging. rpmio.c: Create private struct _FD_s type. cpio.c: Create fd[GS]etCpioPos to preserve FD_t abstraction. CVS patchset: 3414 CVS date: 1999/11/02 14:33:14
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 e6ba337ca..a791f0d50 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 = ufdOpen(argv[1], O_RDONLY, 0644);
+ fdi = ufdio->open(argv[1], O_RDONLY, 0644);
}
if (Fileno(fdi) < 0) {