summaryrefslogtreecommitdiff
path: root/build.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 /build.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 'build.c')
-rw-r--r--build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.c b/build.c
index 2c8c51553..1bd0901de 100644
--- a/build.c
+++ b/build.c
@@ -59,7 +59,7 @@ static int isSpecFile(const char *specfile)
int count;
int checking;
- fd = ufdOpen(specfile, O_RDONLY, 0);
+ fd = ufdio->open(specfile, O_RDONLY, 0);
if (Ferror(fd)) {
/* XXX Fstrerror */
fprintf(stderr, _("Unable to open spec file: %s\n"), specfile);