Hi,
I'm trying to port to rpm 5.2.1 an application that was previously made for
rpm 4.4.9.
The application used to read the header with the following code:
FD_t fd;
fd = fdOpen(headerFile, O_RDONLY, 0);
but with rpm 5.2.1 build stops with the error in the subject.
Looking inside rpmio.h I see this:
/**
*/
/*...@null@*/ FD_t fdOpen(const char *path, int flags, mode_t mode)
/*...@globals errno, fileSystem, internalState @*/
/*...@modifies errno, fileSystem, internalState @*/;
#define fdOpen(_path, _flags, _mode) fdio->_open((_path), (_flags),
(_mode))
but fdio->_open is not defined, infact FDIO_s contains:
/** \ingroup rpmio
*/
struct FDIO_s {
fdio_read_function_t read;
fdio_write_function_t write;
fdio_seek_function_t seek;
fdio_close_function_t close;
/*...@null@*/
fdio_fopen_function_t _fopen;
/*...@null@*/
fdio_fdopen_function_t _fdopen;
/*...@null@*/
fdio_flush_function_t _flush;
};
Is that a headers problem or is it intended that I should use a different
approach?
Thanks for your help!
Silvan
--
mambaSoft di Calarco Silvan
Web: http://www.mambasoft.it
mambaSoft Store @ http://www.mambastore.it
openmamba GNU/Linux development @ http://www.openmamba.org
______________________________________________________________________
RPM Package Manager http://rpm5.org
Developer Communication List [email protected]