From: Paul Eggert <eggert@cs.ucla.edu>
Date: Thu, 20 May 2021 18:24:52 +0000 (-0700)
Subject: fstatat: doc improvement
X-Git-Tag: v1.0~2878
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=9c4b4b083f87a3075d92dd72d5aa4a0007edb5ee;p=gnulib.git

fstatat: doc improvement

* doc/posix-functions/fstatat.texi (fstatat):
Mention AT_EMPTY_PATH when talking about empty strings.
---

diff --git a/ChangeLog b/ChangeLog
index 9fdf744f43..fc67bc69a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-05-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+	fstatat: doc improvement
+	* doc/posix-functions/fstatat.texi (fstatat):
+	Mention AT_EMPTY_PATH when talking about empty strings.
+
 2021-05-18  Bruno Haible  <bruno@clisp.org>
 
 	c-stack: Support catching stack overflow on most platforms without libsigsegv.
diff --git a/doc/posix-functions/fstatat.texi b/doc/posix-functions/fstatat.texi
index dee0330e96..a37ee428b6 100644
--- a/doc/posix-functions/fstatat.texi
+++ b/doc/posix-functions/fstatat.texi
@@ -36,8 +36,8 @@ Portability problems not fixed by Gnulib:
 @itemize
 @item
 This function does not fail when the second argument is an empty string
-on some platforms:
-glibc 2.7.
+on some platforms, even when @code{AT_EMPTY_PATH} is not used:
+glibc 2.7, Linux 2.6.38.
 @item
 @xref{sys/stat.h}, for general portability problems with @code{struct stat}.
 @end itemize