diff options
| author | Barton E. Schaefer <schaefer@zsh.org> | 2014-08-22 09:12:23 -0700 |
|---|---|---|
| committer | Barton E. Schaefer <schaefer@zsh.org> | 2014-08-22 09:12:23 -0700 |
| commit | cb468501c91edfec060cd0e771e5173762feb5e4 (patch) | |
| tree | 71467513f87ec3997d8893d60f2479adff5ef47d /NEWS | |
| parent | Update .distfiles for _docker (diff) | |
| download | zsh-cb468501c91edfec060cd0e771e5173762feb5e4.tar zsh-cb468501c91edfec060cd0e771e5173762feb5e4.tar.gz zsh-cb468501c91edfec060cd0e771e5173762feb5e4.tar.bz2 zsh-cb468501c91edfec060cd0e771e5173762feb5e4.tar.lz zsh-cb468501c91edfec060cd0e771e5173762feb5e4.tar.xz zsh-cb468501c91edfec060cd0e771e5173762feb5e4.tar.zst zsh-cb468501c91edfec060cd0e771e5173762feb5e4.zip | |
33042: $? and $pipestatus report 128+signal number for stopped jobs
Diffstat (limited to 'NEWS')
| -rw-r--r-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 ----------------------------- |
