Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/coreutils/chmod.c
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/coreutils/chmod.c
r3232 r3621 70 70 return TRUE; 71 71 } 72 newmode = statbuf->st_mode;73 72 74 if (!bb_parse_mode((char *)param, &newmode)) 73 newmode = bb_parse_mode((char *)param, statbuf->st_mode); 74 if (newmode == (mode_t)-1) 75 75 bb_error_msg_and_die("invalid mode '%s'", (char *)param); 76 76
Note:
See TracChangeset
for help on using the changeset viewer.