diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-09-27 23:14:58 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-09-27 23:14:58 +0000 |
commit | e6dec182d0b3184476a8ac260c0e798f29611f55 (patch) | |
tree | 864f10de13d6c7cb855e572ae0fdda9cebce3d6b | |
parent | 043959b0be340e0918b33a47859249b04abe7b21 (diff) | |
download | zsh-e6dec182d0b3184476a8ac260c0e798f29611f55.tar.gz zsh-e6dec182d0b3184476a8ac260c0e798f29611f55.tar.xz zsh-e6dec182d0b3184476a8ac260c0e798f29611f55.zip |
25761: Mikael Magnusson: newline in getquery()
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/utils.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 145420cc0..e31d700b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael Magnusson: Src/utils.c: newline in getquery() is + treated as n but should also behave like a newline. duh. + 2008-09-27 Peter Stephenson <p.w.stephenson@ntlworld.com> * 25760: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: diff --git a/Src/utils.c b/Src/utils.c index 24a643ef2..fadf46470 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -2175,6 +2175,7 @@ getquery(char *valid_chars, int purge) break; if (c == '\n') { c = *valid_chars; + nl = 1; break; } if (strchr(valid_chars, c)) { |