This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11460] New: fts has no LFS support
- From: "madcoder at debian dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 31 Mar 2010 17:33:04 -0000
- Subject: [Bug libc/11460] New: fts has no LFS support
- Reply-to: sourceware-bugzilla at sourceware dot org
On 32bits archs, fts has no large-file support and using <fts.h> has an #error
breaking the compilation if source is built with LFS support.
This is kind of sad since the FTS_NOSTAT can be used, and a programmer knowing
this limitation can still make use of fts() on glibc redoing the stat call (with
LFS support) by himself.
Sadly the #error prevents the user to do that (as to avoid the #error you have
to undef the _LARGEFILE_SOURCE/_FILE_OFFSET_BITS which will at the same time
make stat() be diverted to the non LFS-ready one.
Of course, having a LFS-ready fts() implementation would be even nicer.
--
Summary: fts has no LFS support
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: madcoder at debian dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11460
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.