projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78e48b2
)
awk: fix a trivial bug introduced by me.
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 18 May 2007 07:30:43 +0000
(07:30 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 18 May 2007 07:30:43 +0000
(07:30 -0000)
This is how it goes. I break stuff by doing useless 'cleanups',
people fix the fallout. :(. Thanks rockeychu!
editors/awk.c
patch
|
blob
|
history
diff --git
a/editors/awk.c
b/editors/awk.c
index d0a8846b9f467129968bf7bd5c9ea4d6f6b44224..2d6773b65172c563112e5978b1de028ac720e433 100644
(file)
--- 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);