aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ls.c
AgeCommit message (Expand)Author
2019-09-04ls: fix -Z, add a test.Elliott Hughes
2019-09-04DIRTREE_STATLESS doesn't have to test 3 stat fields, it sets a flagRob Landley
2019-08-30ls: fix recent regression.Elliott Hughes
2019-08-26Try to make ls failure more graceful. Print ? ? ? entries instead of error msg.Rob Landley
2019-05-13Use FLAG() macros in lsRob Landley
2019-03-02Improve help consistency.Elliott Hughes
2019-01-08ls: Fix -t to also sort by st_mtim.tv_nsec.Peter Collingbourne
2018-08-26Convert more commands to the new option/GLOBALS code style.Rob Landley
2018-08-26Remove ls sub-option: always support --color.Rob Landley
2017-12-11An incomplete list of deviations from posix (it's a start).Rob Landley
2017-04-19Add ls -ll (with --full-time as a compatibility synonym) to show nanoseconds.Rob Landley
2017-04-12Default to -b rather than -q when output is to a tty.Rob Landley
2017-04-11Silence a broken warning by hitting it with a rock.Rob Landley
2017-04-08Fix the ls -m test (which is just a whitespace issue, but eh).Rob Landley
2017-01-28Add missing `static`s and remove an unused function.Elliott Hughes
2017-01-28Whitespace.Rob Landley
2016-10-09Izabera pointed out that ls defaults to -q when output is a tty.Rob Landley
2016-09-14Fix ls -lh.Elliott Hughes
2016-08-27Make "LC_ALL=C ls -Cs --color" produce the same output on toybox and ubuntu.Rob Landley
2016-08-27Remove some redundancy and unnecessary xprintf().Rob Landley
2016-08-27Fix ls -sh.Elliott Hughes
2016-08-13Move getusername/getgroupname to lib. (Return name or string representationRob Landley
2016-05-20Add bufgetgrgid()Rob Landley
2016-04-21Have dirtree_recurse() take the new dirfd as an argument.Rob Landley
2016-03-15Add ls -b and make ls -q work with utf8.Rob Landley
2016-03-07Cleanup pass on the dirtree infrastructure, in preparation for making rm -rRob Landley
2016-03-02For years the man pages have said to #include <sys/types.h> to getRob Landley
2016-01-15Command line files without paths were attempting to use stdin as their dirfd,Rob Landley
2016-01-08The sense of -L was flipped.Elliott Hughes
2016-01-05Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable formatRob Landley
2015-12-30make "ls -m | cat" assume 80 columns.Rob Landley
2015-12-12Add a useless memset (under CFG_TOYBOX_DEBUG) to shut up valgrind.Rob Landley
2015-12-06Rename dirtree->data to dirfd, and don't store symlink length in it.Rob Landley
2015-10-27Use the /proc/self/fd/%d workaround for O_PATH not letting you read xattrs,Rob Landley
2015-10-27Fix ls error message for chmod -r directories.Rob Landley
2015-09-05ls -h support.Elliott Hughes
2015-08-31ls -l user/group/security context should be left-aligned.Elliott Hughes
2015-08-08Fix ls -l user/group field ordering.Elliott Hughes
2015-06-23Don't segfault if none of the file arguments to ls exists.Rob Landley
2015-06-23Don't depend on malloc(0) to return non-null.Rob Landley
2015-06-23Fix ls so spacing is right for ls -l, -o, -g, -og, -ogZ, -lZ, -gZ, and -oZ.Rob Landley
2015-05-21ls -lZ wasn't putting a space before the xattr output.Rob Landley
2015-05-19Adapted patch from José Bollo to do the "tonight we're gonna api likeRob Landley
2015-05-18Switch id over to new infrastructure, switch id to use FORCE_FLAGS, andRob Landley
2015-05-18Fix "ls -Z . toys" segfaulting, because preprocessing skipped.Rob Landley
2015-05-18Recent commit broke ls -R (test reversed), and "ls -R singledir" shouldRob Landley
2015-05-18More ls -Z upgrading. Move TOYBOX_SELINUX and TOYBOX_SMACK support fromRob Landley
2015-05-13Fix bug (len[7] wasn't zeroed if -Z off, thus -C overestimated entry lengths),Rob Landley
2015-05-10Cleanups of dirtree_start() calls. (Don't need to feed in flag values, justRob Landley
2015-05-09Add DIRTREE_SHUTUP to disable dirtree warnings if file vanishes out fromRob Landley