aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)Author
2020-03-12Fix get_block_device_size() for linuxGreg Kaiser
2020-03-11fdlength: device size is reported in bytes, not blocks.Elliott Hughes
2020-03-11Fix Mac build.Elliott Hughes
2020-03-10modinfo: various fixes.Elliott Hughes
2020-03-01Park Ju Hyung pointed out the fast path of fdlength() was commented out.Rob Landley
2020-02-26Fix xclearenv() breakage pointed out by Derrick Pallas.Rob Landley
2020-02-10Factor out readfd()Rob Landley
2020-01-16The expand should expand.Rob Landley
2020-01-08Implement readelf(1).Elliott Hughes
2020-01-06SebiderSushi reported that chmod g+s wasn't working.Rob Landley
2020-01-03Only free the environment variables we didn't inherit from exec.Rob Landley
2020-01-03No, optflags gets cleared by toy_init(), use toys.rebound instead.Rob Landley
2020-01-03Add MAYFORK to "help", teach it to behave differently when called as aRob Landley
2019-12-28Allow dlist_terminate() to be called repeatedly on same list.Rob Landley
2019-12-14Bugfix: xgetline() wasn't returning NULL at EOF.Rob Landley
2019-12-14dirtree.c: avoid spurious EINVAL warnings.Elliott Hughes
2019-12-12Next round of toysh work, with associated lib plumbing.Rob Landley
2019-12-06Squash a warning.Rob Landley
2019-12-06stat: fix filesystem type on macOS.Elliott Hughes
2019-11-23Fix dev_minor()/dev_major()/dev_makedev() for Mac.Elliott Hughes
2019-11-23Elliott pointed out a codepath that could use uninitialized data.Rob Landley
2019-11-22Add getopt(1).Elliott Hughes
2019-11-13Old gcc versions are confused by __has_include(), so nest the #ifdefsRob Landley
2019-10-29Let "find -L -type -l" find dangling symlinks.Rob Landley
2019-10-27macOS: implement posix_fallocate().Elliott Hughes
2019-10-27Tar extract should delete files or symlinks where it's making a directory,Rob Landley
2019-10-26Add ln -r and relative_path() to lib, plus test.Rob Landley
2019-10-23Use adjtimex instead of adjtime (bionic hasn't got adjtime).Rob Landley
2019-10-21Remove getdirname(), it's _not_ a drop-in replacement for dirnameRob Landley
2019-10-21lib: getdirname fix seqfault on null ptrJarno Mäkipää
2019-10-19Use the MKPATH macros in the mkpathat() implementation.Rob Landley
2019-10-18Teach getdirname() to return "." as appropriate.Rob Landley
2019-10-12Sigh, second attempt at removing strlen() from strstart().Rob Landley
2019-10-10The __ANDROID_NDK__ symbol is missing from ndk-r20 but Dan Albert pointedRob Landley
2019-10-09Don't strlen() potentially long target string each call to strstart().Rob Landley
2019-10-03Oops, part of the old tar support fix is in lib, check that in too.Rob Landley
2019-09-18Get exit code right when command intercepts signal, make timeout useRob Landley
2019-08-26xargs: add --max-args synonym, -o option, and fix -p.Elliott Hughes
2019-08-26Try to make ls failure more graceful. Print ? ? ? entries instead of error msg.Rob Landley
2019-08-21Add xgetline (which the last sh checkin used, oops).Rob Landley
2019-08-15linestack.c: fix buffer length.Elliott Hughes
2019-08-12sort: move off get_rawline.Elliott Hughes
2019-08-09find: fix dangling symlink behavior.Elliott Hughes
2019-08-04Add TOYFLAG_MAYFORK and annotate a couple commands.Rob Landley
2019-07-31Move the empty regex workaround into xregcomp.Elliott Hughes
2019-07-31Fix error path and tweak comments.Rob Landley
2019-07-24Avoid double-close of fd in loopfiles_lines.Elliott Hughes
2019-07-22Start replacing get_line() with getline().Elliott Hughes
2019-07-13net.c: add missing static.Elliott Hughes
2019-07-12pidof: fix default behavior, add -x.Elliott Hughes