aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)Author
2018-08-07Forgot to check in the deflate header change, and pending shouldn't default y.Rob Landley
2018-08-03xgetrandom: use getrandom result if it succeedsPatrick Oppenlander
2018-08-02Move pending/compress.c to lib/deflate.c, first pass at genericizing it.Rob Landley
2018-07-19Tweak/add some comments.Rob Landley
2018-07-13Fix typo in a macro nameKonst Mayer
2018-07-08Fix division by zero errors and double summary in ping.Rob Landley
2018-07-06Bionic ships newer libc with older kernels, so Android needs to fallback atRob Landley
2018-07-04Add xgetrandom() with probe for new system call (else open/read /dev/{,u}random)Rob Landley
2018-07-04diff: add timestamps to the ---/+++ lines and --color.Elliott Hughes
2018-07-02Fix bugs in yesterday's bufgetgrgid() work (reported by Elliott).Rob Landley
2018-06-30Loop retrying larger allocation sizes for bufgetpwuid/bufgetgrgid.Rob Landley
2018-06-14Change do_lines() semantics to end with a callback(0,0) to indicate EOF,Rob Landley
2018-05-06Support fractional seconds (and other time units) in `top -d`.Elliott Hughes
2018-05-03Add uuidgen.Elliott Hughes
2018-04-08Add cp --parentsRob Landley
2018-04-08Add mkpath() for common case of mkpathat(), and #define magic constants.Rob Landley
2018-04-08Add readlink -m to show where a missing path would be.Rob Landley
2018-04-03Factor out xtempfile()Rob Landley
2018-03-31Remove semicolon from WOULD_EXIT() macro (screws up if statement levels).Rob Landley
2018-03-22atolx should use tolower instead of toupperMinghui Liu
2018-03-20Fix atolx not integer error when used with suffix *dMinghui Liu
2018-03-20Minghui Liu pointed out that the b and c suffixes were reported as errors.Rob Landley
2018-03-14Fix last uninitialized warning.Elliott Hughes
2018-03-12Fix bug in names_to_pid.Elliott Hughes
2018-03-10Split "comma separated values" parsing from mntent.h plumbing.Rob Landley
2018-03-10Add a way for commands to distinguish "ps -ax" from "ps ax".Rob Landley
2018-02-09Fix the pidof comm and cmdline tests.Elliott Hughes
2018-01-30Basic ping support.Rob Landley
2018-01-14Switch xgettty() -> tty_fd() (returning -1 instead of erroring out if none).Rob Landley
2018-01-06Move millitime() into lib.c.Rob Landley
2018-01-01Cleanup logger.c, and move the facilitynames/prioritynames SYSLOG_NAMESRob Landley
2018-01-01xphung on github said: "config2help currently doesn't work on OS X, itRob Landley
2017-12-22Redo namestopid to handle more cases.Rob Landley
2017-12-19killall should kill scripts too.Elliott Hughes
2017-12-03Don't capitalize in the middle of a sentence.Elliott Hughes
2017-10-10Tweak help_exit() to show "See %s --help" message on the same line.Rob Landley
2017-10-10Complete rewrite of cut. Handle multipe ranges, add -DFO options, startRob Landley
2017-10-01Fix xargs to obey POSIX's ARG_MAX restrictions.Elliott Hughes
2017-09-09Last commit used xstrtod(), forgot to check it in.Rob Landley
2017-09-05Tweak utf8towc() to return -1 earlier sometimes (instead of -2), and add testRob Landley
2017-09-02utf8towc() has to be in lib.c if strlower() is going to use it, becauseRob Landley
2017-09-02In wc, replace mbrtowc() with new utf8towc() which doesn't have a context structRob Landley
2017-07-17Split out xgetaddrinfo() from xconnect()Rob Landley
2017-07-11comma_scan()'s clean option wasn't removing entry at end of list.Rob Landley
2017-07-07Make dd use atolx_range(), and teach atolx_range() about "w" suffix (word, *2).Rob Landley
2017-06-26Most things seem to want the "b" suffix to mean 512 instead of 1.Rob Landley
2017-06-06Add comment explaining strend()Rob Landley
2017-06-05Have help_exit() give a brief "See %s --help" message instead of theRob Landley
2017-05-24Add and use xmmap.Elliott Hughes
2017-05-23Add minof/maxof macros that autodetect type. Make xzcat use them.Rob Landley