GNU bug report logs - #76876
logname output is often wrong when linked with glibc

Previous Next

Package: coreutils;

Reported by: Nicolas Boos <nicolas.boos <at> wanadoo.fr>

Date: Sat, 8 Mar 2025 23:08:03 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #55 received at 76876 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: Eric Blake <eblake <at> redhat.com>
Cc: nicolas.boos <at> wanadoo.fr, eggert <at> cs.ucla.edu, bug-gnulib <at> gnu.org,
 76876 <at> debbugs.gnu.org, dalias <at> libc.org
Subject: Re: bug#76876: logname output is often wrong when linked with glibc
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  <bruno <at> clisp.org>

	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
 







This bug report was last modified 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.