aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-18 02:06:54 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-18 02:06:54 +0000
commiteb85849b50a3c8af6ef0d3dbbf0fd1387e37d1f8 (patch)
treea970e91569040c0a431f3dbe649f732ff9be0717 /shell/ash.c
parent6b9e05392b4457f0ea808810761f8fb9efdffc44 (diff)
downloadbusybox-eb85849b50a3c8af6ef0d3dbbf0fd1387e37d1f8.tar.gz
hush: deal with umask TODO (symbolic modes)
function old new delta builtin_umask 79 125 +46
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 4acc30110..c53b080a4 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -12646,6 +12646,8 @@ umaskcmd(int argc UNUSED_PARAM, char **argv)
S_IROTH, S_IWOTH, S_IXOTH
};
+ /* TODO: use bb_parse_mode() instead */
+
char *ap;
mode_t mask;
int i;
@@ -12712,7 +12714,6 @@ umaskcmd(int argc UNUSED_PARAM, char **argv)
*
* Public domain.
*/
-
struct limits {
uint8_t cmd; /* RLIMIT_xxx fit into it */
uint8_t factor_shift; /* shift by to get rlim_{cur,max} values */