Albert Chin <[EMAIL PROTECTED]> wrote: > On Thu, Jul 12, 2007 at 10:32:19PM +0200, Jim Meyering wrote: >> E.g., add these lines after that block: >> >> #ifdef TRU64 >> "Do not use Tru64's statvfs implementation" >> #endif > > That's fine. Just replace TRU64 UNIX with something like: > #if defined (__osf__) && (defined (__alpha) || defined (__alpha__)) > > It's from gnulib lib/getloadavg.c.
Using __osf__ looks better but we don't want the alpha-specific part, do we? Someone may still use TRU64 on a non-alpha. #ifdef __osf__ "Do not use Tru64's statvfs implementation" #endif Or maybe... do you know that this statvfs bug is alpha-specific? Note that getloadavg.c is an example of the truly unmaintainable mess you get when taking this approach too far. _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
