bug-coreutils
[Top][All Lists]
Advanced

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

Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts


From: Jim Meyering
Subject: Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts
Date: Fri, 13 Jul 2007 08:50:30 +0200

Albert Chin <address@hidden> 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.




reply via email to

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