about summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2014-08-22 09:12:23 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2014-08-22 09:12:23 -0700
commitcb468501c91edfec060cd0e771e5173762feb5e4 (patch)
tree71467513f87ec3997d8893d60f2479adff5ef47d /NEWS
parente5b504b97586d6a5c336a51ed4d0add4cc95ce51 (diff)
downloadzsh-cb468501c91edfec060cd0e771e5173762feb5e4.tar.gz
zsh-cb468501c91edfec060cd0e771e5173762feb5e4.tar.xz
zsh-cb468501c91edfec060cd0e771e5173762feb5e4.zip
33042: $? and $pipestatus report 128+signal number for stopped jobs
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3a761b1e2..1f2a9daad 100644
--- a/NEWS
+++ b/NEWS
@@ -84,6 +84,13 @@ Changes since 5.0.0
   longer array is trimmed whereas the :^^ operator repeats the shorter
   array enough to match the longer array.
 
+- The value of $? when a job becomes stopped is now the signal number plus
+  128, for compatibility with other shells.  Note that different operating
+  systems use different values e.g. for SIGTSTP, so it is not possible in
+  portable scripts to detect stopped jobs by comparing to a fixed number.
+  Also, the value of $pipestatus is now updated when a job stops, not just
+  when it exits.
+
 Changes between 4.2 and 5.0.0
 -----------------------------