From: Andrew Innes Date: Sun, 18 Mar 2001 16:54:35 +0000 (+0000) Subject: (get_next_token): Fix indefinite loop bug scanning X-Git-Tag: emacs-pretest-21.0.101~271 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2afff93ade8207c8742da0fb156a37cbb58f0b82;p=emacs.git (get_next_token): Fix indefinite loop bug scanning escaped quotes. --- diff --git a/nt/cmdproxy.c b/nt/cmdproxy.c index 267e00acc98..09a3c672e79 100644 --- a/nt/cmdproxy.c +++ b/nt/cmdproxy.c @@ -158,6 +158,7 @@ get_next_token (char * buf, char ** pSrc) if (p[0] == escape_char && escape_char != '"') { escape_char_run++; + p++; continue; } else if (p[0] == '"')