summaryrefslogtreecommitdiff
path: root/Src/zsh.h
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2020-07-03 21:05:46 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2020-07-03 21:05:46 +0100
commit4e0058afc5ea040a788d70edbfa43593295816d1 (patch)
tree2ddff880e422a30b17333a329df25d24a902e975 /Src/zsh.h
parent19390a1ba8dc983b0a1379058e90cd51ce156815 (diff)
downloadzsh-4e0058afc5ea040a788d70edbfa43593295816d1.tar.gz
zsh-4e0058afc5ea040a788d70edbfa43593295816d1.zip
users/24971: ${(-)var} sorts on signed integers
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index ed123f2b9..c48be4ffd 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -2997,17 +2997,18 @@ enum {
SORTIT_ANYOLDHOW = 0, /* Defaults */
SORTIT_IGNORING_CASE = 1,
SORTIT_NUMERICALLY = 2,
- SORTIT_BACKWARDS = 4,
+ SORTIT_NUMERICALLY_SIGNED = 4,
+ SORTIT_BACKWARDS = 8,
/*
* Ignore backslashes that quote another character---which may
* be another backslash; the second backslash is active.
*/
- SORTIT_IGNORING_BACKSLASHES = 8,
+ SORTIT_IGNORING_BACKSLASHES = 16,
/*
* Ignored by strmetasort(); used by paramsubst() to indicate
* there is some sorting to do.
*/
- SORTIT_SOMEHOW = 16,
+ SORTIT_SOMEHOW = 32,
};
/*