Subject: bug#76876: logname output is often wrong when linked with glibc

From: Bruno Haible <[email-masked]>
Date: Wed, 19 Mar 2025 15:35:58 +0100

Eric Blake wrote:
> > Let me document this limitation.
> > 
> 
> > -This function returns the value of the @env{LOGNAME} environment variable:
> > +This function returns the value of the @env{LOGNAME} environment variable
> > +and this therefore arbitrarily fakeable:
> 
> s/this/thus/ ?

Oops, thanks for reporting this. Fixed:

2025-03-19  Bruno Haible  <[email-masked]>

	getlogin, getlogin_r: Fix typo in documentation.
	Reported by Eric Blake in
	<https://lists.gnu.org/archive/html/bug-gnulib/2025-03/msg00071.html>.
	* doc/posix-functions/getlogin.texi: Fix typo.
	* doc/posix-functions/getlogin_r.texi: Likewise.

diff --git a/doc/posix-functions/getlogin.texi b/doc/posix-functions/getlogin.texi
index b0b8da73ae..45cac08d89 100644
--- a/doc/posix-functions/getlogin.texi
+++ b/doc/posix-functions/getlogin.texi
@@ -17,7 +17,7 @@
 mingw.
 @item
 This function returns the value of the @env{LOGNAME} environment variable
-and this therefore arbitrarily fakeable:
+and is therefore arbitrarily fakeable:
 musl libc 1.2.5.
 @end itemize
 
diff --git a/doc/posix-functions/getlogin_r.texi b/doc/posix-functions/getlogin_r.texi
index 0e3b7968db..b4829559be 100644
--- a/doc/posix-functions/getlogin_r.texi
+++ b/doc/posix-functions/getlogin_r.texi
@@ -22,7 +22,7 @@
 macOS 14.
 @item
 This function returns the value of the @env{LOGNAME} environment variable
-and this therefore arbitrarily fakeable:
+and is therefore arbitrarily fakeable:
 musl libc 1.2.5.
 @end itemize