From: Bruno Haible Date: Sat, 9 Jan 2021 06:43:37 +0000 (+0100) Subject: truncate: Document last workaround. X-Git-Tag: v1.0~3173 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=b32c83f56cc3c63c211921aefa358e2948aa7b85;p=gnulib.git truncate: Document last workaround. * doc/posix-functions/truncate.texi: Document the AIX bug. --- diff --git a/ChangeLog b/ChangeLog index 1e589aac36..f574c3668f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-01-09 Bruno Haible + + truncate: Document last workaround. + * doc/posix-functions/truncate.texi: Document the AIX bug. + 2021-01-08 Paul Eggert dynarray: work even if ‘free’ is replaced 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: