diff options
author | jbj <devnull@localhost> | 1999-12-15 21:51:07 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1999-12-15 21:51:07 +0000 |
commit | f7748bb6b3d73be7075ba442c61d6bfb682a1bfd (patch) | |
tree | ceb911d655d7085588876b6e69dd54982608e291 /lib | |
parent | 3da0771698b46ca6f83e29acaa4ea698586fc6a1 (diff) | |
download | librpm-tizen-f7748bb6b3d73be7075ba442c61d6bfb682a1bfd.tar.gz librpm-tizen-f7748bb6b3d73be7075ba442c61d6bfb682a1bfd.tar.bz2 librpm-tizen-f7748bb6b3d73be7075ba442c61d6bfb682a1bfd.zip |
expose enough of legacy fdio interface to compile gnorpm.
CVS patchset: 3486
CVS date: 1999/12/15 21:51:07
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rpmio.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/rpmio.h b/lib/rpmio.h index 1990840c3..fc29175d3 100644 --- a/lib/rpmio.h +++ b/lib/rpmio.h @@ -133,11 +133,13 @@ extern /*@null@*/ FILE *fdFdopen( /*@only@*/ void * cookie, const char * mode); #define fdClose fdio->close #define fdOpen fdio->_open -#if 0 +/* XXX legacy interface used in gnorpm */ #define fdRead fdio->read #define fdWrite fdio->write -#define fdSeek fdio->seek #define fdFileno fdio->_fileno + +#if 0 +#define fdSeek fdio->seek #endif #define fdLink(_fd, _msg) fdio->ref(_fd, _msg, __FILE__, __LINE__) |