about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2014-04-06 16:54:29 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2014-04-06 16:54:29 +0100
commit141f569c0f979254369b91e8018e8beaa2c6863a (patch)
treef79067225b6e34d5acdb57c23a3977e9f061b93e
parentccc840470aa9571d8b944c17e2edaa3b17d03e81 (diff)
downloadzsh-141f569c0f979254369b91e8018e8beaa2c6863a.tar.gz
zsh-141f569c0f979254369b91e8018e8beaa2c6863a.tar.xz
zsh-141f569c0f979254369b91e8018e8beaa2c6863a.zip
32521: document that LOGNAME comes from getlogin()
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/params.yo4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dc5706179..6ba0856e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-04-06  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* 32521: Doc/Zsh/params.yo: document that LOGNAME comes
+	from getlogin().
+
 2014-04-05  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 32528: Completion/Zsh/Command/_zstyle, Doc/Zsh/contrib.yo,
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index cf2ad34d4..8d95355f9 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -621,7 +621,9 @@ item(tt(LOGNAME))(
 If the corresponding variable is not set in the environment of the
 shell, it is initialized to the login name corresponding to the
 current login session. This parameter is exported by default but
-this can be disabled using the tt(typeset) builtin.
+this can be disabled using the tt(typeset) builtin.  The value
+is set to the string returned by the manref(getlogin)(3) system call
+if that is available.
 )
 vindex(MACHTYPE)
 item(tt(MACHTYPE))(