1
0
Fork 0
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:
Peter Stephenson 2008-09-27 23:14:58 +00:00
parent 043959b0be
commit e6dec182d0
2 changed files with 6 additions and 0 deletions

View file

@ -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:

View file

@ -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)) {