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 /build/parsePreamble.c | |
parent | 65a08c9e60c0bff0e09cfdcc98ca97910ab24ac5 (diff) | |
download | librpm-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 'build/parsePreamble.c')
-rw-r--r-- | build/parsePreamble.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parsePreamble.c b/build/parsePreamble.c index 62029ae0c..55f76914e 100644 --- a/build/parsePreamble.c +++ b/build/parsePreamble.c @@ -244,7 +244,7 @@ static int readIcon(Header h, const char *file) icon = xmalloc(statbuf.st_size); *icon = '\0'; - fd = fdOpen(fn, O_RDONLY, 0); + fd = fdio->open(fn, O_RDONLY, 0); /* XXX Fstrerror */ /* XXX Ferror check */ nb = Fread(icon, statbuf.st_size, 1, fd); |