John W. Eaton wrote:
> Maybe I'm missing something, but what happens if @GNULIB_OPEN@ is 0?
> It doesn't look like we get the symbol inside the gnulib namespace in
> that case.

Yes. This is intentional. When @GNULIB_OPEN@ expands to 0, it means that
the programmer has not asked for the function 'open' to be corrected by
gnulib.

Gnulib is, by design, an adaptable set of functionality. It is not all
of POSIX. It is the subset of POSIX that you ask for.

The reference to gnulib::open will fail in this case, telling the programmer
that he needs to request the gnulib module 'open'.

Bruno


Reply via email to