expose enough of legacy fdio interface to compile gnorpm.

CVS patchset: 3486
CVS date: 1999/12/15 21:51:07
This commit is contained in:
jbj 1999-12-15 21:51:07 +00:00
parent 3da0771698
commit f7748bb6b3
2 changed files with 5 additions and 2 deletions

View File

@ -24,6 +24,7 @@
- fix: reload macros from cmd line when re-reading config files.
- fix: compressFileList was over-generating dirNames.
- fix: alAddPackage sorted dirNames too soon, destroying dirMapping.
- expose enough of legacy fdio interface to compile gnorpm.
3.0.2 -> 3.0.3
- add --eval to find result of macro expansion.

View File

@ -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__)