projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libbb: make parse_chown_usergroup_or_die() set unspecified uid/gid to -1
[oweals/busybox.git]
/
coreutils
/
chown.c
diff --git
a/coreutils/chown.c
b/coreutils/chown.c
index eaa1ee2a391ca8b2a14174aab4075110e4469524..247aa3bf12db31dfa54e33e860e24f6f62cbb726 100644
(file)
--- a/
coreutils/chown.c
+++ b/
coreutils/chown.c
@@
-112,10
+112,6
@@
int chown_main(int argc UNUSED_PARAM, char **argv)
int opt, flags;
struct param_t param;
- /* Just -1 might not work: uid_t may be unsigned long */
- param.ugid.uid = -1L;
- param.ugid.gid = -1L;
-
#if ENABLE_FEATURE_CHOWN_LONG_OPTIONS
applet_long_options = chown_longopts;
#endif