Bruno Haible <[EMAIL PROTECTED]> writes: > if you ever want to go back from > > #if USE_UNLOCKED_IO > # include "unlocked-io.h" > #endif > > to a simple > > #include "unlocked-io.h" > > then --avoid will do the trick as well.
Sorry, I guess I'm just slow, because I don't quite follow. If you make that change to the source code, and then use --avoid, the file "unlocked-io.h" be missing. So you need your own substitute unlocked-io.h, which (presumably) does nothing. I guess this will work, but should we instead be striving for an approach where gnulib arranges for the no-op unlocked-io.h? That would be more convenient. > Regarding xalloc-die, I propose this patch. This doesn't look quite right to me. xalloc-die depends on error, gettext-h, and exitfail, because its implementation uses those three modules. But a user who substitutes a specially-built xalloc-die implementation may not need those three modules. It's common to take the transitive closure of the dependencies to see which modules your app needs. In that scenario, user would end up with modules like "error" that they don't need. _______________________________________________ bug-gnulib mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnulib
