aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.c
AgeCommit message (Expand)Author
2021-01-15Cleanup base32 slightly.Rob Landley
2021-01-07new toy: base32Moritz Röhrich
2021-01-01Fix comma regression reported by Denys Nykula.Rob Landley
2020-12-06unicode: new toy.Elliott Hughes
2020-12-06Remove CONFIG_TOYBOX_I18N and just always support utf8.Rob Landley
2020-12-05Small cleanup.Rob Landley
2020-12-04chmod: support complex modes.Elliott Hughes
2020-10-11toysh: more variable/wildcard plumbing and tests.Rob Landley
2020-09-12Replace HR_COMMAS with HR_NODOTRob Landley
2020-09-09Attempt internationalization of HR_COMMAS, 9 digit memory sizes for top,Rob Landley
2020-09-04Add commas to top display, and adjust memory units to megabytes if >10G RAM.Rob Landley
2020-08-13list_signals: fit to window size.Elliott Hughes
2020-08-04echo: fix trailing \0.Elliott Hughes
2020-05-21David Legault reported that unescape2() doesn't handle \0 rightRob Landley
2020-05-19xsignal_all_killers() should install the handler given to it, and do someRob Landley
2020-04-13Add unescape2(), migrate some unescape() users over.Rob Landley
2020-03-11fdlength: device size is reported in bytes, not blocks.Elliott Hughes
2020-03-11Fix Mac build.Elliott Hughes
2020-03-01Park Ju Hyung pointed out the fast path of fdlength() was commented out.Rob Landley
2020-02-10Factor out readfd()Rob Landley
2020-01-08Implement readelf(1).Elliott Hughes
2020-01-06SebiderSushi reported that chmod g+s wasn't working.Rob Landley
2020-01-03Add MAYFORK to "help", teach it to behave differently when called as aRob Landley
2019-11-23Fix dev_minor()/dev_major()/dev_makedev() for Mac.Elliott Hughes
2019-10-26Add ln -r and relative_path() to lib, plus test.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-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-08-26xargs: add --max-args synonym, -o option, and fix -p.Elliott Hughes
2019-08-12sort: move off get_rawline.Elliott Hughes
2019-07-24Avoid double-close of fd in loopfiles_lines.Elliott Hughes
2019-07-12pidof: fix default behavior, add -x.Elliott Hughes
2019-07-06killall: better handling of long names.Elliott Hughes
2019-06-11Move sig_to_num and num_to_sig into portability.c.Elliott Hughes
2019-06-10Improve signal name<->number conversions.Elliott Hughes
2019-06-01Teach file to recognize xz archives and old style tarballs.Rob Landley
2019-05-25find: add -printf support.Elliott Hughes
2019-05-16Add human_readable_long() for more than 3 digits of output.Rob Landley
2019-05-12Fix readlink0() to blank string on failure.Rob Landley
2019-05-06Greatly simplify and speed up regexec0() using REG_STARTEND.Rob Landley
2019-05-04Optimize regexec0() for long lines.Rob Landley
2019-04-20New xsetenv() plumbing (repeatedly set same environment variables withoutRob Landley
2019-04-02Don't emit random -EPIPE error messages in a pipeline, just exit silently.Rob Landley
2019-03-27Change fileunderdir() to return abspath to file.Rob Landley
2019-03-10Add missing isatty(3) call.Elliott Hughes
2019-03-09Half-finished su change checked in, sorry.Rob Landley