possible open() problem again

Jakub Jelinek jakub at redhat.com
Thu Aug 23 20:43:19 UTC 2007


On Thu, Aug 23, 2007 at 09:36:31PM +0100, Ian Chapman wrote:
> <snip>
> int open(const char *pathname, int flags, ...)

When it defines its own open implementation, you should just
prevent expanding it as function-like macro.
So
int (open)(const char *pathname, int flags, ...)
{
...
}

	Jakub




More information about the Fedora-maintainers mailing list