summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-12-01 19:57:17 +0000
committerjbj <devnull@localhost>1999-12-01 19:57:17 +0000
commit8289346751e2d994a83416e90a67b5c96f4b07cd (patch)
treeb4236096b4e0f0a9ab5f8c26d33a82aed67b5a24 /rpmio
parent3678e4a3b548c00667db8587eb3061ac49ae3a67 (diff)
downloadrpm-8289346751e2d994a83416e90a67b5c96f4b07cd.tar.gz
rpm-8289346751e2d994a83416e90a67b5c96f4b07cd.tar.bz2
rpm-8289346751e2d994a83416e90a67b5c96f4b07cd.zip
Add underscore in front of (possibly) non-supported FDIO_t vectors.
Make buildFileList() part of rpmlib API as rpmBuildFileList(). lib/rpmdb.c: Compare fingerprints from different caches by value. CVS patchset: 3448 CVS date: 1999/12/01 19:57:17
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/macro.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c
index 0323f2873..4d965a774 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -203,7 +203,8 @@ rdcl(char *buf, size_t size, FD_t fd, int escapes)
*q = '\0';
do {
- if (fgets(q, size, fpio->ffileno(fd)) == NULL) /* read next line */
+ /* read next line */
+ if (fgets(q, size, (FILE *)fdGetFp(fd)) == NULL)
break;
nb = strlen(q);
nread += nb;