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

[Bug libc/11460] New: fts has no LFS support

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


------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.

Reply to: