aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Innes2001-03-18 16:54:35 +0000
committerAndrew Innes2001-03-18 16:54:35 +0000
commit2afff93ade8207c8742da0fb156a37cbb58f0b82 (patch)
tree6cdf4a62dca0557f7541f4bdd2b161931d14cc6e
parent4986c2c6c8b786409fb44f740b2e358736145313 (diff)
downloademacs-2afff93ade8207c8742da0fb156a37cbb58f0b82.tar.gz
emacs-2afff93ade8207c8742da0fb156a37cbb58f0b82.zip
(get_next_token): Fix indefinite loop bug scanning
escaped quotes.
-rw-r--r--nt/cmdproxy.c1
1 files changed, 1 insertions, 0 deletions
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)
158 if (p[0] == escape_char && escape_char != '"') 158 if (p[0] == escape_char && escape_char != '"')
159 { 159 {
160 escape_char_run++; 160 escape_char_run++;
161 p++;
161 continue; 162 continue;
162 } 163 }
163 else if (p[0] == '"') 164 else if (p[0] == '"')