aboutsummaryrefslogtreecommitdiff
path: root/lib/xwrap.c
AgeCommit message (Expand)Author
2020-08-19xputsl: remove unused variable.Elliott Hughes
2020-08-15If we fflush(stdout) first we can just write to filehandle.Rob Landley
2020-08-04Inline convert_tz()Rob Landley
2020-08-04xparsedate: support UTC offsets.Elliott Hughes
2020-08-04Toysh signal handling adds a few EINTR recovery corner cases to lib.Rob Landley
2020-06-19Bugfix: the code to trim \n off xgetline() was using allocated not read length.Rob Landley
2020-06-01Use copy_file_range() when available.Rob Landley
2020-05-03Next round of shell work.Rob Landley
2020-04-01Add rtcwake.Elliott Hughes
2020-03-18Fix WARN_ONLY (and the one caller feeding it in the field it was checking).Rob Landley
2019-12-14Bugfix: xgetline() wasn't returning NULL at EOF.Rob Landley
2019-12-12Next round of toysh work, with associated lib plumbing.Rob Landley
2019-10-27Tar extract should delete files or symlinks where it's making a directory,Rob Landley
2019-09-18Get exit code right when command intercepts signal, make timeout useRob Landley
2019-08-21Add xgetline (which the last sh checkin used, oops).Rob Landley
2019-07-31Move the empty regex workaround into xregcomp.Elliott Hughes
2019-07-31Fix error path and tweak comments.Rob Landley
2019-05-19Don't complain about short writes to stdout.Rob Landley
2019-05-11Teach tar to extract type 'S' sparse file headers.Rob Landley
2019-04-16Add argument to xflush() so it can test for stdout err without flushing.Rob Landley
2019-04-02Don't leak stdout pipe filehandle into children.Rob Landley
2019-04-02Have xflush() only flush stdout (that's all it checks errors on),Rob Landley
2019-03-27xabspath: use O_PATH for dirfd.Elliott Hughes
2019-03-26xabspath: use O_PATH.Elliott Hughes
2019-03-26Make touch use xparsedate() (result: -t and -d the same, autodetects format),Rob Landley
2019-03-24Factor out xparsedate() and xvali_date() into lib.Rob Landley
2019-03-17Fix xstrndup() bug.Rob Landley
2019-03-10Add TOYFLAG_ARGFAIL() to allow argument parsing failures to exit with value.Rob Landley
2019-03-10Make xsendfile() variants handle -1 length properly again.Rob Landley
2019-03-10Don't redirect stderr or xexec() error hidden.Rob Landley
2019-03-10Make multiple sendfile variants, and teach xpopen_both() to use existingRob Landley
2019-02-15Fix typos: e.g. change "cannonical" to "canonical".Jason Spiro
2019-02-03William Djupström pointed out that xexec() lost the absolute path check.Rob Landley
2019-01-08xchdir: show the specific failure.Elliott Hughes
2018-12-23Add grep --colorRob Landley
2018-12-14Add xrename()Rob Landley
2018-10-21Make ./top -d .1234567890m work.Rob Landley
2018-10-21Add % to lib/args.c (long time in milliseconds), add xmillitime(), redoRob Landley
2018-10-10Trivial speedup to format_iso_time(), teach parsetime() leading garbage != 0.Rob Landley
2018-10-10Add xsignal_flags() and more consistently use xsignal() instead of signal().Rob Landley
2018-09-16Nommu systems want to _exit() after vfork when exec fails, but should do clea...Rob Landley
2018-07-08Fix division by zero errors and double summary in ping.Rob Landley
2018-05-06Support fractional seconds (and other time units) in `top -d`.Elliott Hughes
2018-04-08Add readlink -m to show where a missing path would be.Rob Landley
2018-04-03Factor out xtempfile()Rob Landley
2017-09-09Last commit used xstrtod(), forgot to check it in.Rob Landley
2017-05-24Add and use xmmap.Elliott Hughes
2017-02-04Posix says stdio.h should define 'stdout' as a macro, and bionic turns it intoRob Landley
2017-02-04Switch oneit to use xopen_stdio() for -c (oops) and switch XVFORK() to useRob Landley
2017-01-04Some lib fixes: mark xvfork() noinline, make xsendfile() return bytes copied,Rob Landley