bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rpl_close replaces struct members named 'close'


From: Paul Eggert
Subject: Re: rpl_close replaces struct members named 'close'
Date: Sat, 22 Dec 2007 18:35:30 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Sylvain Beucler <address@hidden> writes:

> unistd.in.h replaces 'close' by 'rpl_close' (when the replacement is
> enabled), so this also renames the struct member.

Is that a real problem?  Why does it matter what the struct member is
called, so long as the program always calls it by the same name?

I'm asking because, if this is a problem with gnulib, it is likely a
problem with other platforms like Solaris, which are not above putting
things like "#define open open64" in their standard header files.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]