diff options
author | jbj <devnull@localhost> | 1999-12-01 19:57:17 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-12-01 19:57:17 +0000 |
commit | 8289346751e2d994a83416e90a67b5c96f4b07cd (patch) | |
tree | b4236096b4e0f0a9ab5f8c26d33a82aed67b5a24 /build | |
parent | 3678e4a3b548c00667db8587eb3061ac49ae3a67 (diff) | |
download | librpm-tizen-8289346751e2d994a83416e90a67b5c96f4b07cd.tar.gz librpm-tizen-8289346751e2d994a83416e90a67b5c96f4b07cd.tar.bz2 librpm-tizen-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 'build')
-rw-r--r-- | build/files.c | 2 | ||||
-rw-r--r-- | build/pack.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/files.c b/build/files.c index f9ab549dc..24b6e3c9e 100644 --- a/build/files.c +++ b/build/files.c @@ -1220,7 +1220,7 @@ static int processPackageFiles(Spec spec, Package pkg, pkg->fileFile, Fstrerror(fd)); return RPMERR_BADFILENAME; } - while (fgets(buf, sizeof(buf), fpio->ffileno(fd))) { + while (fgets(buf, sizeof(buf), (FILE *)fdGetFp(fd))) { handleComments(buf); if (expandMacros(spec, spec->macros, buf, sizeof(buf))) { rpmError(RPMERR_BADSPEC, _("line: %s"), buf); diff --git a/build/pack.c b/build/pack.c index 3ebe95dc1..88dc15b18 100644 --- a/build/pack.c +++ b/build/pack.c @@ -476,7 +476,7 @@ static StringBuf addFileToTagAux(Spec spec, const char *file, StringBuf sb) freeStringBuf(sb); return NULL; } - while (fgets(buf, sizeof(buf), fpio->ffileno(fd))) { + while (fgets(buf, sizeof(buf), (FILE *)fdGetFp(fd))) { /* XXX display fn in error msg */ if (expandMacros(spec, spec->macros, buf, sizeof(buf))) { rpmError(RPMERR_BADSPEC, _("line: %s"), buf); |