Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-06-03 | Update chmod to work with new dirtree, and fix bugs in string_to_mode(). | Rob Landley | |
2012-06-01 | Changed my mind about the design again, now callback is dirtree_opennode() ↵ | Rob Landley | |
and recursion choice is how caller interprets flags. | |||
2012-06-01 | Factor out dirtree_comeagain() callback, setting up depth-first search with ↵ | Rob Landley | |
open filehandle in node->extra. | |||
2012-06-01 | Convert another realpath use to xrealpath(). | Rob Landley | |
2012-06-01 | Convert mktemp to use xrealpath, and general clean up while there. | Rob Landley | |
2012-05-31 | Implement -C and -x for ls. | Rob Landley | |
2012-05-31 | cp doesn't really need the optstring + logic. Still needs to be updated for ↵ | Rob Landley | |
new dirtree, though. | |||
2012-05-27 | Update chgrp so -R works, tweaking DIRTREE_COMEAGAIN design along the way. | Rob Landley | |
2012-05-20 | dirtree logic cleanup: switch DIRTREE_NORECURSE and DIRTREE_NOSAVE to ↵ | Rob Landley | |
DIRTREE_RECURSE and DIRTREE_SAVE. | |||
2012-05-09 | Remove strndupa() gnu-ism at Georgi's suggestion, and adjust mdev to compile ↵ | Rob Landley | |
with new dirtree. (No idea if it works, this command was never finished and needs a lot more work.) | |||
2012-05-01 | Addition of mktemp | Elie De Brauwer | |
2012-04-26 | Simplify/unify listfiles recursion: populate directory node (and detect top ↵ | Rob Landley | |
of tree) at start of function rather than end (and redundantly in main). Move title printing down next to total printing. | |||
2012-04-24 | Adding initial version of login.c | Elie De Brauwer | |
2012-04-24 | Make -d work in ls. | Rob Landley | |
2012-04-24 | Require -R to recurse, but descend into directories listed on command line. | Rob Landley | |
2012-04-22 | More work on ls. Now ls -lR sort of works-ish. | Rob Landley | |
2012-04-14 | Adding logname | Elie De Brauwer | |
2012-04-14 | Refactor uniq.c a bit. | Rob Landley | |
2012-04-14 | Rewrite dirtree so we don't need readdir, scandir, and fts.h. Rewrite ls ↵ | Rob Landley | |
(from scratch) to use new dirtree infrastructure. (This breaks everything else that currently uses dirtree.) | |||
2012-04-14 | Use FLAG_ macros for echo optflags. | Rob Landley | |
2012-04-14 | Match uint64_t with PRIu64 to avoid warnings on 64 bit builds. | Rob Landley | |
2012-04-11 | toybuf usage enhancement, tabs to spaces, teminal height refresh | Elie De Brauwer | |
2012-04-07 | Replace ?: gcc extension with standard code | Kevin Chase | |
2012-04-09 | Adding vmstat | Elie De Brauwer | |
2012-04-02 | Adding mountpoint | Elie De Brauwer | |
2012-03-22 | Implement comm. | Ilya Kuzmich | |
2012-03-22 | The -s flag includes staying quiet about missing files. | Rob Landley | |
2012-03-21 | Test the right variable in NULL guard, and add NOP "s" suffix. | Rob Landley | |
2012-03-19 | Add string to mode_t parser | Daniel Walter | |
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); | |||
2012-03-19 | Remove "feature test macros", replace non-portable fdprintf() with standard ↵ | Rob Landley | |
fprintf(). | |||
2012-03-16 | The linux header doesn't prototype unshare, and the glibc header introduced ↵ | Rob Landley | |
a regression in recent versions inexplicably crediting a linux feature to the FSF, so add the prototype ourselves. | |||
2012-03-15 | Simplify nanosleep call. | Rob Landley | |
2012-03-14 | Implement uniq. | Georgi Chorbadzhiyski | |
2012-03-14 | Default new ch* commands to n until enough is implemented not to break ↵ | Rob Landley | |
aboriginal build. | |||
2012-03-13 | New toys - chmod, chown, and chgrp. | Georgi Chorbadzhiyski | |
2012-03-12 | Extensive semi-gratuitous refactoring: factor out common code, handle ↵ | Rob Landley | |
euid!=uid and egid!=gid cases. (Note: test suite requires root access, possibly container support.) | |||
2012-03-12 | Tighten up the code a bit, and use actual process group id instead of what ↵ | Rob Landley | |
/etc/passwd says. | |||
2012-03-12 | Redo tail to use optargs and optionally support lseek. Add support to ↵ | Rob Landley | |
optargs and llist.c, plus add a test suite entry. Still no -f support though. | |||
2012-03-10 | Fix nanosleep() usage. | Georgi Chorbadzhiyski | |
2012-03-09 | Replace deprecated libc function with its totally renamed equivalent. | Rob Landley | |
2012-03-09 | Work around glibc regression by including Linux header directly. | Rob Landley | |
2012-03-08 | More stabs at getting #includes right, and moving off of deprecated functions. | Rob Landley | |
2012-03-07 | Fix mkdir -p to accept paths that already exist, and detect path ending in a ↵ | Rob Landley | |
file. | |||
2012-03-07 | Consolidate headers. | Rob Landley | |
2012-03-07 | Silence a couple pointless warnings. | Rob Landley | |
2012-03-06 | Cleanups: use perror_msg() and make mode a global. | Rob Landley | |
2012-03-06 | Add mkfifo. | Georgi Chorbadzhiyski | |
2012-03-06 | Comment and whitespace tweaks. | Rob Landley | |
2012-03-05 | mkdir cleanups: Let umask do its thing at the syscall level, have mode be a ↵ | Rob Landley | |
global to prepare for -m, use do_blah name loopfiles() usually calls, one less redundant mkdir() call, go ahead and modify writeable args instead of strdup(), return before restoring / so error message is better, use perror_msg(). | |||
2012-03-05 | Add mkdir. | Georgi Chorbadzhiyski | |