diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2013-09-21 16:39:25 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2013-09-21 16:39:25 -0700 |
commit | 27f9c515ff9e8d422ea4ae1571174c0b02540f7c (patch) | |
tree | b31fe7c399f620c9840e7207e89da0c78a8f49c7 | |
parent | 61deff76f22310ce9e10dd2174b8cf8e48c678ee (diff) | |
download | zsh-27f9c515ff9e8d422ea4ae1571174c0b02540f7c.tar.gz zsh-27f9c515ff9e8d422ea4ae1571174c0b02540f7c.tar.xz zsh-27f9c515ff9e8d422ea4ae1571174c0b02540f7c.zip |
unposted: improve an error message.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/glob.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 6256f5210..148aef5cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-09-21 Barton E. Schaefer <schaefer@zsh.org> + + * unposted: Src/glob.c: improve an error message. + 2013-09-19 Barton E. Schaefer <schaefer@zsh.org> * 31737: Src/Zle/computil.c (get_cadef): same fix as get_cvdef. diff --git a/Src/glob.c b/Src/glob.c index 0defb1a0f..9299b95ea 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -1611,7 +1611,8 @@ zglob(LinkList list, LinkNode np, int nountok) break; } default: - zerr("unknown file attribute"); + untokenize(--s); + zerr("unknown file attribute: %c", *s); restore_globstate(saved); return; } |