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:
2f7894b
)
hush: small speed optimization. +10 bytes.
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 23 Sep 2009 23:44:13 +0000
(
01:44
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 23 Sep 2009 23:44:13 +0000
(
01:44
+0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c
patch
|
blob
|
history
diff --git
a/shell/hush.c
b/shell/hush.c
index 85a45dd6bf1aa93bb860b96b5534a78aea5624b4..866593f77e17c465465d947c21e03ad7f4c33d32 100644
(file)
--- a/
shell/hush.c
+++ b/
shell/hush.c
@@
-899,7
+899,7
@@
static int is_well_formed_var_name(const char *s, char terminator)
/* Replace each \x with x in place, return ptr past NUL. */
static char *unbackslash(char *src)
{
- char *dst = src;
+ char *dst = src
= strchrnul(src, '\\')
;
while (1) {
if (*src == '\\')
src++;