diff options
author | jbj <devnull@localhost> | 1999-11-02 14:33:14 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-11-02 14:33:14 +0000 |
commit | 7fc3a97733080a03e8bb3872bd37019db483b93c (patch) | |
tree | 3a61e2602283c9adf7441ed5acd1068cbf16fd98 /rpm2cpio.c | |
parent | 65a08c9e60c0bff0e09cfdcc98ca97910ab24ac5 (diff) | |
download | rpm-7fc3a97733080a03e8bb3872bd37019db483b93c.tar.gz rpm-7fc3a97733080a03e8bb3872bd37019db483b93c.tar.bz2 rpm-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.c | 2 |
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) { |