projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stop using __u32 etc. uint32_t is there for a reason
[oweals/busybox.git]
/
shell
/
hush.c
diff --git
a/shell/hush.c
b/shell/hush.c
index 57b4a7ac3faebfaa498751bcfffa2fbcc2074f60..9bc0013d743728af9ce7a91dc9295dc2016a872b 100644
(file)
--- a/
shell/hush.c
+++ b/
shell/hush.c
@@
-507,7
+507,7
@@
static int builtin_export(struct child_prog *child)
char *name = child->argv[1];
if (name == NULL) {
char *name = child->argv[1];
if (name == NULL) {
- return
(builtin_env(child)
);
+ return
builtin_env(child
);
}
name = strdup(name);
}
name = strdup(name);
@@
-730,7
+730,7
@@
static int builtin_source(struct child_prog *child)
status = parse_file_outer(input);
mark_closed(fileno(input));
fclose(input);
status = parse_file_outer(input);
mark_closed(fileno(input));
fclose(input);
- return
(status)
;
+ return
status
;
}
static int builtin_umask(struct child_prog *child)
}
static int builtin_umask(struct child_prog *child)
@@
-2269,7
+2269,7
@@
static int parse_group(o_string *dest, struct p_context *ctx,
return 1; /* syntax error, groups and arglists don't mix */
}
initialize_context(&sub);
return 1; /* syntax error, groups and arglists don't mix */
}
initialize_context(&sub);
- switch(ch) {
+ switch
(ch) {
case '(': endch=')'; child->subshell=1; break;
case '{': endch='}'; break;
default: syntax(); /* really logic error */
case '(': endch=')'; child->subshell=1; break;
case '{': endch='}'; break;
default: syntax(); /* really logic error */