[PATCH] add configure check for statfs64()

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Mon Nov 17 10:40:53 UTC 2008


Hi,

Please find attached 2 patches which

- add configure check for statfs64
- add fallbacks for !LFS

2008-11-17  Bernhard Reutner-Fischer  <>

	* acinclude.m4 (AC_STATFS64): New.
	* configure.ac (AC_STATFS64): Call.
	* file.c (printstatfs64): Only compile if
	the non-standard statfs64() is available.
	Fallback to stat() if stat64() is unavailable.

2008-11-17  Bernhard Reutner-Fischer  <>

	* syscall.c (sys_truncate64, sys_ftruncate64, sys_getdents64,
	sys_statfs64, sys_fstatfs64): Fallback to !LFS variants if
	largefile support is unavailable.


Please apply.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace-4.5.18-statfs64.patch
Type: text/x-diff
Size: 1740 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20081117/1c46dde6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace-4.5.18-disabled-largefile-syscalls.patch
Type: text/x-diff
Size: 557 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20081117/1c46dde6/attachment-0001.bin>


More information about the Strace-devel mailing list