summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-01-03 14:19:15 +0100
committerBruno Haible <bruno@clisp.org>2020-01-03 14:19:15 +0100
commit5f62ea4ee2c43383411f895cd323e3c67db8eca7 (patch)
treeb2cf9a09bd266db4861b138b4b9ff671346068c4 /m4
parent74cdf7d6063d1d8586f8673075d93516ce0ac0ac (diff)
downloadgnulib-5f62ea4ee2c43383411f895cd323e3c67db8eca7.tar.gz
doc: Mention the 64-bit inode number problem.
* m4/largefile.m4 (AC_SYS_LARGEFILE): Mention that this macro fixes the 64-bit inode number problem. * doc/posix-functions/stat.texi: Mention that this module fixes the 64-bit inode number problem. * doc/posix-functions/lstat.texi: Likewise. * doc/posix-functions/fstat.texi: Likewise. * doc/posix-functions/readdir.texi: Add more details. * doc/posix-functions/readdir_r.texi: Likewise.
Diffstat (limited to 'm4')
-rw-r--r--m4/largefile.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/largefile.m4 b/m4/largefile.m4
index 40b16bc0e5..e381339c40 100644
--- a/m4/largefile.m4
+++ b/m4/largefile.m4
@@ -1,4 +1,5 @@
# Enable large files on systems where this is not the default.
+# Enable support for files on Linux file systems with 64-bit inode numbers.
# Copyright 1992-1996, 1998-2020 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
@@ -73,6 +74,9 @@ rm -rf conftest*[]dnl
# one must use special compiler options to get large-file access to work.
# For more details about this brain damage please see:
# http://www.unix.org/version2/whatsnew/lfs20mar.html
+# Additionally, on Linux file systems with 64-bit inodes a file that happens
+# to have a 64-bit inode number cannot be accessed by 32-bit applications on
+# Linux x86/x86_64. This can occur with file systems such as XFS and NFS.
AC_DEFUN([AC_SYS_LARGEFILE],
[AC_ARG_ENABLE(largefile,
[ --disable-largefile omit support for large files])