Derek Price <[EMAIL PROTECTED]> writes: > +/* Get the system versions when something else was defined by config.h. */ > +#undef lstat > +#undef stat
A big worry here is hosts that use something like "#define stat stat64" when compiled in large-file mode. On such hosts, you can't #undef 'stat' and 'lstat' as you'll then get the small-file functions. This may help to explain the infelicity in this area of gnulib. An example of such a system would be Solaris 10 compiled with GCC 3. GCC 4 fixes the problem on Solaris 10 -- at least, that's how I read the GCC source code and Solaris headers; I haven't tested it. Support for this was added on 2004-06-20 by Zack Weinberg, if you want to peruse GCC's ChangeLog entries. However, obviously we'd still need to support older Solaris installations, , and I suspect that the problem persists on some non-Solaris hosts. _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib