statfs64 and !LFS

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Oct 21 16:05:34 UTC 2009


On Wed, Oct 21, 2009 at 06:07:12PM +0400, Dmitry V. Levin wrote:
>Hi,
>
>On Wed, Oct 14, 2009 at 04:46:24PM +0200, Bernhard Reutner-Fischer wrote:
>> With this patchlet i'm able to build on a uClibc setup with LFS off.
>
>> --- a/acinclude.m4
>> +++ b/acinclude.m4
>[...]
>> +	AC_DEFINE([HAVE_STATFS64], 1,
>[...]
>> --- a/file.c
>> +++ b/file.c
>[...]
>> -#ifdef LINUX
>> +#if defined LINUX && defined HAVE_STATFS64
>[...]
>> --- a/syscall.c
>> +++ b/syscall.c
>[...]
>> +#ifndef HAVE_STAT64
>
>You haven't tried your patch on a system with LFS support, have you?

I tried it both with and without LFS support and both work as expected
with the patch.




More information about the Strace-devel mailing list