From b32c83f56cc3c63c211921aefa358e2948aa7b85 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 9 Jan 2021 07:43:37 +0100 Subject: truncate: Document last workaround. * doc/posix-functions/truncate.texi: Document the AIX bug. --- doc/posix-functions/truncate.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/posix-functions/truncate.texi') diff --git a/doc/posix-functions/truncate.texi b/doc/posix-functions/truncate.texi index 85a4dbe9bb..8ee1fa7d18 100644 --- a/doc/posix-functions/truncate.texi +++ b/doc/posix-functions/truncate.texi @@ -15,6 +15,10 @@ mingw, MSVC 14, Android 4.4 with @code{AC_SYS_LARGEFILE} in effect. On platforms where @code{off_t} is a 32-bit type, this function is not applicable to arbitrary lengths for files larger than 2 GB@. The fix is to use the @code{AC_SYS_LARGEFILE} macro. +@item +This function does not fail when the file name argument ends in a slash +and (without the slash) names a non-directory, on some platforms: +AIX 7.2. @end itemize Portability problems not fixed by Gnulib: -- cgit v1.2.1