Age | Commit message (Collapse) | Author |
|
|
|
new dirtree, though.
|
|
|
|
errors.
|
|
DIRTREE_RECURSE and DIRTREE_SAVE.
|
|
|
|
|
|
with new dirtree. (No idea if it works, this command was never finished and needs a lot more work.)
|
|
|
|
|
|
include both "string.h" and "strings.h". (Most don't.)
|
|
of tree) at start of function rather than end (and redundantly in main). Move title printing down next to total printing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
make a translation macro or #ifdef guard to get the names right so they actually be _used_ yet...
|
|
(from scratch) to use new dirtree infrastructure. (This breaks everything else that currently uses dirtree.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
added new function string_to_mode(char *m_string, mode_t base) which
parses a given string and converts it to a mode_t.
If either + or - are part of m_string the permissions are either
added or removed from base.
Currently support for permision copy is missing (e.g. g=u),
but all other flags should work.
Format for m_string: either symbolic modes or octal representation.
symbolic modes:
[auog][[+-=][rwxst]*]
examples:
string_to_mode("u=rwx,g=rw,o=r", 0);
string_to_mode("a-x", 0777);
string_to_mode("0744", 0);
|
|
fprintf().
|
|
|
|
a regression in recent versions inexplicably crediting a linux feature to the FSF, so add the prototype ourselves.
|
|
|
|
|
|
aboriginal build.
|
|
|
|
euid!=uid and egid!=gid cases. (Note: test suite requires root access, possibly container support.)
|
|
/etc/passwd says.
|
|
|
|
optargs and llist.c, plus add a test suite entry. Still no -f support though.
|
|
|
|
|
|
|
|
|
|
|