Elliott Hughes
|
e63c996742
chmod: fix +X.
|
3 years ago |
Elliott Hughes
|
fbc2252f4f
chmod.c: mask out the file type bits.
|
3 years ago |
Rob Landley
|
e3ce0338d4
Fix help text to explain why o+s isn't +t, add test +s not setting +t.
|
3 years ago |
Elliott Hughes
|
a01cee764f
chmod: fix -R and dangling symlinks.
|
4 years ago |
Rob Landley
|
b0ed57b1aa
Minor cleanup.
|
4 years ago |
Rob Landley
|
382057f588
Have dirtree_notdotdot() pass through !node->parent so . and .. on the command
|
7 years ago |
Rob Landley
|
a38044550a
Josh Gao pointed out that chmod -R . (and ..) didn't work.
|
7 years ago |
Rob Landley
|
7a3f53ba44
Mark command-local functions static.
|
9 years ago |
Rob Landley
|
abb0727cad
Add -f to chmod (just turns off -v).
|
11 years ago |
Rob Landley
|
7aa651a6a4
Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.
|
11 years ago |
Rob Landley
|
c0e56edaf2
New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
|
11 years ago |
Rob Landley
|
f91b7c89bc
Regularize command headers, update links to standards documents.
|
12 years ago |
Rob Landley
|
3a9241add9
Move commands into "posix", "lsb", and "other" menus/directories.
|
12 years ago |