aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ls.c
AgeCommit message (Expand)Author
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
2013-06-30First pass at ls --colorRob Landley
2013-06-30Condense ls help text.Rob Landley
2013-06-30Fix another segfault in ls -C when terminal size is 0x0.Rob Landley
2013-06-02Stat cleanup.Rob Landley
2013-04-22Add library function for the file permission formatting in ls and statFelix Janda
2012-12-26A screen width of 1 is possible (in some weird setups), and gives ls -C a div...Rob Landley
2012-12-06Have dirtree_add_node() set parent so error message can provide full path.Rob Landley
2012-12-01Minor whitespace tweak.Rob Landley
2012-11-26Squash "type punned pointer" nonsense with a bigger hammer. (Sheesh.)Rob Landley
2012-11-19Teach option parsing about [groups] of related options.Rob Landley
2012-11-15Make ls default to -C if no option specified and it's outputting to a tty.Rob Landley
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked r...Rob Landley
2012-10-08New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_c...Rob Landley
2012-09-06I screwed up ls in commit 580. Oops. Fix it.Rob Landley