Package: findutils
Version: 4.1.20-6

I suppose there is a bug in gnulib/configure script which leads
to generation of gnulib/config.h file without
#define _FILE_OFFSET_BITS 64
line.

The same line present in root ./config.h file.

Without this define 32-bit i386 'find' is unable to work on
some partitions (e.g. NFS) with x86-64 kernel, since it calls
readdir() -> getdirents64(), but glibc is unable to convert 64bit
inode numbers to 32bit fields required in readdir() and readdir()
returns EOVERFLOW.

If compiled with this define it starts to work fine.

NOTE: The same bug doesn't happen with 'ls', as it has _FILE_OFFSET_BITS==64.

Thanks,
Kirill



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to