projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Patch from vodz:
[oweals/busybox.git]
/
libbb
/
parse_mode.c
diff --git
a/libbb/parse_mode.c
b/libbb/parse_mode.c
index 49573dfbb8ef31526a100af51ec724501b864d75..7132c76ef9ba44ae186b2f4b3c7f0071664bd435 100644
(file)
--- a/
libbb/parse_mode.c
+++ b/
libbb/parse_mode.c
@@
-65,7
+65,7
@@
extern int bb_parse_mode(const char *s, mode_t *current_mode)
char *e;
tmp = strtol(s, &e, 8);
- if (*e || (tmp > 0
xffff
U)) { /* Check range and trailing chars. */
+ if (*e || (tmp > 0
7777
U)) { /* Check range and trailing chars. */
return 0;
}
*current_mode = tmp;