aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-18 07:30:43 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-18 07:30:43 +0000
commitd9b5ab868c284fdb38806867ff4faddd6f29eb36 (patch)
tree313c367b6a09df989354d8607eb99de91314c5bc /editors
parent78e48b2c2c68aebe3a15201df3191c5725dc9e9b (diff)
downloadbusybox-d9b5ab868c284fdb38806867ff4faddd6f29eb36.tar.gz
awk: fix a trivial bug introduced by me.
This is how it goes. I break stuff by doing useless 'cleanups', people fix the fallout. :(. Thanks rockeychu!
Diffstat (limited to 'editors')
-rw-r--r--editors/awk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/awk.c b/editors/awk.c
index d0a8846b9..2d6773b65 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -895,7 +895,7 @@ static uint32_t next_token(uint32_t expected)
while (*p != '/') {
if (*p == '\0' || *p == '\n')
syntax_error(EMSG_UNEXP_EOS);
- *s++ = *p++;
+ *s = *p++;
if (*s++ == '\\') {
pp = p;
*(s-1) = bb_process_escape_sequence((const char **)&p);