aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ls.c
AgeCommit message (Expand)Author
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
2015-05-04Implement SELinux ls -Z support.Elliott Hughes
2015-04-30More ls cleanups from squinting at Jose's most recent smack patch.Rob Landley
2015-04-30Wild guess at cleaning up smack support. Don't have a test environment yet.Rob Landley
2015-04-29ls: Add -Z (Smack) optionJan Cybulski
2015-04-27Fix ls -s and -i indentation in -C and -x modes. (Spotted by Jan Cybulski.)Rob Landley
2015-03-01Patches from Elliott Hughes to fix various printf() format strings.Rob Landley
2014-10-30Test for ls -d from Isaac Dunham, and he pointed out -F also disables symlink...Rob Landley
2014-10-30Bug report from Isaac Dunham: ls -d shouldn't follow command line symlinks wi...Rob Landley
2014-08-02Missed checking in dirtree_recurse() change (now needs specific DIRTREE_SYMFO...Rob Landley
2014-07-20Don't go into an endless loop if we hit a bad utf8 sequence without -q.Rob Landley
2014-07-20Add utf8 support to ls -C.Rob Landley
2013-09-02Switch ls from utoa to sprintf.Rob Landley
2013-09-01Implement ls --color=auto, suggested by Rich Felker.Rob Landley
2013-08-01ls --color should depend on LS in menuconfig.Rob Landley
2013-07-01Make ls output major, minor for block devices.0.4.5Rob Landley