linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nix <nix@esperi.org.uk>
To: Neil Brown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: [PATCH*2] mdadm works with uClibc from SVN
Date: Sat, 24 Jun 2006 14:08:30 +0100	[thread overview]
Message-ID: <87u06aitv5.fsf@hades.wkstn.nix> (raw)
In-Reply-To: <20060624082629.GA12050@percy.comedia.it> (Luca Berra's message of "Sat, 24 Jun 2006 10:26:30 +0200")

On Sat, 24 Jun 2006, Luca Berra said:
> On Fri, Jun 23, 2006 at 08:45:47PM +0100, Nix wrote:
>>On Fri, 23 Jun 2006, Neil Brown mused:
>>> Is there some #define in an include file which will allow me to tell
>>> if the current uclibc supports ftw or not?
> 
> it is not only depending on the uClibc version, but also if ftw support
> was compiled in or not.

True.

>><features.h> provides the macros __UCLIBC_MAJOR__, __UCLIBC_MINOR__, and
>>__UCLIBC_SUBLEVEL__: versions above 0.9.20 appear to support ftw()
>>(at least, they have the function, in 32-bit form at least, which
>>is certainly enough for this application!)
> 
> the following would be the correct check.
> 
> #include <features.h>
> #ifdef __UCLIBC_HAS_FTW__

Gah. I looked *in that file* and *still* failed to spot that.

You are, of course, correct.

-- 
`NB: Anyone suggesting that we should say "Tibibytes" instead of
 Terabytes there will be hunted down and brutally slain.
 That is all.' --- Matthew Wilcox

  reply	other threads:[~2006-06-24 13:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-20 22:06 [PATCH*2] mdadm works with uClibc from SVN Nix
2006-06-20 23:03 ` Nix
2006-06-23  7:33 ` Nix
2006-06-23  8:12   ` Neil Brown
2006-06-23 19:45     ` Nix
2006-06-24  8:26       ` Luca Berra
2006-06-24 13:08         ` Nix [this message]
2006-06-26  4:32 ` Neil Brown
2006-06-27  9:40   ` Nix
2006-06-27  9:55     ` Neil Brown
2006-06-27 10:58       ` Nix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87u06aitv5.fsf@hades.wkstn.nix \
    --to=nix@esperi.org.uk \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).