We unconditionally set _FILE_OFFSET_BITS to 64 in configure.ac, so we
should unconditionally call the statfs64 and fstatfs64 functions.
These functions should be available on all versions of GNU/Linux since 2.6.
On 64-bit systems they are aliased to statfs/fstatfs, and on 32-bit
systems they use the 64-bit data structures.
Fixes golang/go#20922
Reviewed-on: https://go-review.googlesource.com/50635
From-SVN: r250443
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| config | Loading commit data... | |
| go | Loading commit data... | |
| misc/cgo | Loading commit data... | |
| runtime | Loading commit data... | |
| testsuite | Loading commit data... | |
| LICENSE | Loading commit data... | |
| MERGE | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| PATENTS | Loading commit data... | |
| README | Loading commit data... | |
| README.gcc | Loading commit data... | |
| VERSION | Loading commit data... | |
| aclocal.m4 | Loading commit data... | |
| config.h.in | Loading commit data... | |
| configure | Loading commit data... | |
| configure.ac | Loading commit data... | |
| godeps.sh | Loading commit data... | |
| libgo.imp | Loading commit data... | |
| match.sh | Loading commit data... | |
| merge.sh | Loading commit data... | |
| mkrsysinfo.sh | Loading commit data... | |
| mksigtab.sh | Loading commit data... | |
| mksysinfo.sh | Loading commit data... | |
| mvifdiff.sh | Loading commit data... | |
| sysinfo.c | Loading commit data... |