summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2022-04-28 23:50:31 -0700
committerBart Schaefer <schaefer@zsh.org>2022-04-28 23:50:31 -0700
commitb6be798848c83cf67635213a311ae35a121d67b2 (patch)
treee54405236b6eb262fda05538fc4102492cdfbee5
parentdf0c783f4bcbeb93bccd24c33160863563e2f3dc (diff)
downloadzsh-b6be798848c83cf67635213a311ae35a121d67b2.tar.gz
zsh-b6be798848c83cf67635213a311ae35a121d67b2.tar.xz
zsh-b6be798848c83cf67635213a311ae35a121d67b2.zip
50138: Note ERRNO must be set before use.
-rw-r--r--ChangeLog2
-rw-r--r--Doc/Zsh/params.yo3
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0faf8fda7..cbe4428ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2022-04-28  Bart Schaefer  <schaefer@zsh.org>
 
+	* 50138: Doc/Zsh/params.yo:  Note ERRNO must be set before use.
+
 	* 50133 (Bart, PWS, Jun-ichi): Src/input.c, configure.ac: when
 	lseek(2) is available, use it to check for and rewind read-ahead
 	for more efficient line-buffered input.
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 6d2d41b7a..b543d1c38 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -750,6 +750,9 @@ as set by the most recently failed system call.
 This value is system dependent and is intended for debugging
 purposes.  It is also useful with the tt(zsh/system) module which
 allows the number to be turned into a name or message.
+
+To use this parameter, it must first be assigned a value (typically
+0 (zero)).  It is initially unset for scripting compatibility.
 )
 vindex(FUNCNEST)
 item(tt(FUNCNEST) <S>)(