Page MenuHomeSolus

Update zsh to 5.4.2
ClosedPublic

Authored by kyrios123 on Aug 8 2017, 6:48 PM.
Referenced Files
F11065349: D786.diff
Fri, Aug 11, 4:30 PM
F11042123: D786.id1721.diff
Thu, Aug 10, 5:41 AM
F10972545: D786.id1975.diff
Fri, Jul 21, 2:16 PM
F10866644: D786.id3505.diff
Jun 17 2023, 4:40 PM
F10866643: D786.id3504.diff
Jun 17 2023, 4:40 PM
F10866642: D786.id1975.diff
Jun 17 2023, 4:40 PM
F10866641: D786.id1721.diff
Jun 17 2023, 4:40 PM
F10866640: D786.id.diff
Jun 17 2023, 4:40 PM
Subscribers

Details

Summary

Changes from 5.3.1 to 5.4

The 'exec' and 'command' precommand modifiers, and options to them, are now parsed after parameter expansion. Previously, both the modifier and any options to it were parsed between alias expansion and parameter expansion (see zshexpn(1)), so they could neither be quoted nor be the result of parameter expansion. Examples: 's=command; $s -V ls' and '\command -V ls' now work as expected.

Functions executed by ZLE widgets no longer have their standard input closed, but redirected from /dev/null instead. That still guards against user defined widgets inadvertently reading from the tty device.

There is an option WARN_NESTED_VAR, a companion to the existing WARN_CREATE_GLOBAL that causes a warning if a function updates a variable from an enclosing scope without using typeset -g. It can be turned on for an individual function with "functions -W".

zmodload now has an option -s to be silent on a failure to find a module but still print other errors.

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan

This shell is working fine on my machine.

Diff Detail

Repository
R3329 zsh
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kyrios123 retitled this revision from Update zsh to 5.4.1 to Update zsh to 5.4.2.

Bump to 5.4.2 which is a bugfix release

Packaging:

  • Had to switch to the .gz tarball, the .xz signature file is on the ftp, but the archive itself is missing
  • Add: make check but had to remove one test. Would be *awesome* if someone could find out why it fails
JoshStrobl added a subscriber: JoshStrobl.
JoshStrobl added inline comments.
abi_used_libs
4 ↗(On Diff #1975)

Please add gdbm-devel and see if that prevents the ABI deletion.

This revision now requires changes to proceed.Nov 18 2017, 10:09 PM
kyrios123 edited edge metadata.

add gdbm-devel dependency

This revision is now accepted and ready to land.Nov 19 2017, 2:44 PM
This revision was automatically updated to reflect the committed changes.