[Top][All Lists]
[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.
- coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/05
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, James Youngman, 2007/07/06
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/06
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/06
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Jim Meyering, 2007/07/06
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/09
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/12
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Jim Meyering, 2007/07/12
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/12
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts,
Jim Meyering <=
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/13
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Jim Meyering, 2007/07/13