mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
25761: Mikael Magnusson: newline in getquery()
This commit is contained in:
parent
043959b0be
commit
e6dec182d0
2 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue