aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)Author
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
2019-07-11bind/connect cleanup.Elliott Hughes
2019-07-10dd: iflags, oflags, fix ^C, fix the fundamental loop.Elliott Hughes
2019-07-10Add dlist_lpop() to remove last entry (use dlist as stack).Rob Landley
2019-07-06killall: better handling of long names.Elliott Hughes
2019-06-25lib/args.c: add quotes.Elliott Hughes
2019-06-20The O_PATH breaks stuff, have to work around Android's selinux rules for /Rob Landley
2019-06-20Teach dlist_pop() to work on a dlist_terminate()d listRob Landley
2019-06-11Add DIRTREE_STATLESS to return entries we couldn't stat().Rob Landley
2019-06-11Move sig_to_num and num_to_sig into portability.c.Elliott Hughes
2019-06-10Improve signal name<->number conversions.Elliott Hughes