Bug 1597

Summary: UCLIBC_HAS_NFTW should default to y
Product: uClibc Reporter: Thomas Petazzoni <thomas.petazzoni>
Component: OtherAssignee: unassigned
Status: RESOLVED WONTFIX    
Severity: normal CC: uclibc-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Thomas Petazzoni 2010-04-20 00:27:58 UTC
http://git.buildroot.net/uClibc/commit/?id=946b7b5ab8508fa8bf32fdd89d55d9e2f0b4fe25 has introduced the UCLIBC_HAS_NFTW option, in order to be able to separatly compile ftw() and nftw(). The commit log says that ftw() is deprecated and that nftw() should be used instead.

In that case, shouldn't UCLIBC_HAS_NFTW default to yes ?

(For example, here, Gtk+ uses nftw() and does not build because UCLIBC_HAS_NFTW wasn't selected by default in uClibc configuration)
Comment 1 Carmelo Amoroso 2010-05-19 05:34:42 UTC
Hi Thomas,
FTW is switched off by default, so I-d keep NFTW off too.
Users that need this to be enabled, might do, so when building Gtk+ the proper
configuration for uClibc has to be applied.

I don't think it's worth to change it.
Comment 2 Bernhard Reutner-Fischer 2010-05-24 07:53:16 UTC
Fix your configuration, I.e. if you need a feature, turn it on.