statfs64 and !LFS

Bernhard Reutner-Fischer at
Thu Oct 15 10:02:50 UTC 2009

On Wed, Oct 14, 2009 at 12:39:12PM -0400, Mike Frysinger wrote:
>On Wednesday 14 October 2009 10:46:24 Bernhard Reutner-Fischer wrote:
>> With this patchlet i'm able to build on a uClibc setup with LFS off.
>i stopped building non-LFS uClibc sometime ago which is probably why i didnt 
>notice.  looks straight forward to me though, thanks.

Can somebody apply this for me please?

Apparently i forgot a ChangeLog entry. Here it is:

2009-10-14  Bernhard Reutner-Fischer  < at>

	* acinclude.m4 (AC_STATFS64): New macro to check for struct statfs64.
	* Call AC_STATFS64.
	* file.c (printstatfs64, sys_statfs64, sys_fstatfs64): Only
	build if struct statfs64 is available.

2009-10-14  Bernhard Reutner-Fischer  < at>

	* syscall.c (sys_truncate64, sys_ftruncate64, sys_getdents64,
	sys_statfs64, sys_fstatfs64): Define to their !LFS counterparts
	if largefilesupport is unavailable.

More information about the Strace-devel mailing list