aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-14A few more links for the index.Rob Landley
2012-06-14Cosmetic tweak to command preamble.Rob Landley
2012-06-13Fix an embarassing bug causing ls -l to segfault on 32 bit targets.Rob Landley
2012-06-12Delete wrappers converted to commands.Rob Landley
2012-06-11Multiplexer needs stayroot flag for suid handling.0.3.0Rob Landley
2012-06-10The linux from scratch build wants -v on chmod.Rob Landley
2012-06-09Implement DIRTREE_SYMFOLLOW and ls -cSHL.Rob Landley
2012-06-09Feeding -1 to xdup() isn't an error.Rob Landley
2012-06-09Add ls -kqsunort, and fix -F @symlink.Rob Landley
2012-06-03Update chmod to work with new dirtree, and fix bugs in string_to_mode().Rob Landley
2012-06-01Changed my mind about the design again, now callback is dirtree_opennode() ↵Rob Landley
and recursion choice is how caller interprets flags.
2012-06-01Factor out dirtree_comeagain() callback, setting up depth-first search with ↵Rob Landley
open filehandle in node->extra.
2012-06-01Convert another realpath use to xrealpath().Rob Landley
2012-06-01Convert mktemp to use xrealpath, and general clean up while there.Rob Landley
2012-06-01Add xrealpath() at suggestion of Ashish Briggers.Rob Landley
2012-05-31Implement -C and -x for ls.Rob Landley
2012-05-31cp doesn't really need the optstring + logic. Still needs to be updated for ↵Rob Landley
new dirtree, though.
2012-05-27Update chgrp so -R works, tweaking DIRTREE_COMEAGAIN design along the way.Rob Landley
2012-05-23Probe available libraries to link --as-needed, avoiding "unknown libarary" ↵Rob Landley
errors.
2012-05-20dirtree logic cleanup: switch DIRTREE_NORECURSE and DIRTREE_NOSAVE to ↵Rob Landley
DIRTREE_RECURSE and DIRTREE_SAVE.
2012-05-20Silence pointless warnings.Rob Landley
2012-05-16First pass at a complete rewrite of string_to_mode(). (It compiled!)Rob Landley
2012-05-09Remove 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-09Whitespace (tabs vs spaces) cleanup.Rob Landley
2012-05-01Addition of mktempElie De Brauwer
2012-04-28Georgi pointed out that some overly-pedantic C libraries require you to ↵Rob Landley
include both "string.h" and "strings.h". (Most don't.)
2012-04-26Simplify/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-24Adding initial version of login.cElie De Brauwer
2012-04-24Make -d work in ls.Rob Landley
2012-04-24Require -R to recurse, but descend into directories listed on command line.Rob Landley
2012-04-22More work on ls. Now ls -lR sort of works-ish.Rob Landley
2012-04-14Adding lognameElie De Brauwer
2012-04-14Refactor uniq.c a bit.Rob Landley
2012-04-14Teach make.sh to create flag macros, but with the wrong names. Dunno how to ↵Rob Landley
make a translation macro or #ifdef guard to get the names right so they actually be _used_ yet...
2012-04-14Rewrite 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-14Comment and whitespace changes.Rob Landley
2012-04-14Use FLAG_ macros for echo optflags.Rob Landley
2012-04-14Match uint64_t with PRIu64 to avoid warnings on 64 bit builds.Rob Landley
2012-04-11toybuf usage enhancement, tabs to spaces, teminal height refreshElie De Brauwer
2012-04-07Replace ?: gcc extension with standard codeKevin Chase
2012-04-09Adding vmstatElie De Brauwer
2012-04-02Adding mountpointElie De Brauwer
2012-03-22Implement comm.Ilya Kuzmich
2012-03-22The -s flag includes staying quiet about missing files.Rob Landley
2012-03-21Test the right variable in NULL guard, and add NOP "s" suffix.Rob Landley
2012-03-20Using /dev/tty for yesno() is wrong because yes 'n' | cp -ial needs to work.Rob Landley
2012-03-19Unwind gratuitous macros.Rob Landley
2012-03-19Have probe for unshare test for actual unshare() function in libc.Rob Landley
2012-03-19Add string to mode_t parserDaniel 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-19Remove "feature test macros", replace non-portable fdprintf() with standard ↵Rob Landley
fprintf().