aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)Author
2022-05-12Switch to C11 noreturn to work around a compiler bug in llvm.android13-devRob Landley
2022-04-12All PEDANTIC_ARGS does is set a macro that's never used.Rob Landley
2022-04-11lib/portability.c: don't assume we have __NR_copy_file_range.Elliott Hughes
2022-04-04When args.c is just enforcing max/min argument count with no options, imply ?Rob Landley
2022-04-02Add tar --strip-components.Rob Landley
2022-03-26Cleanup pass and make -O - write to stdout.Rob Landley
2022-03-22Avoid redundant strlen() inside libc.Rob Landley
2022-03-19Fix copy_file_range() fallback.Rob Landley
2022-03-18Fix macOS build after copy_file_range() changes.Elliott Hughes
2022-03-17Update comments and add "sanity check" from kernel commit f16acc9d9b376.Rob Landley
2022-03-17Enable copy_file_range when it is available.LongPing Wei
2022-03-06Silence more false positive warnings in llvm.Rob Landley
2022-02-16Move a struct from lib.h into the one toys/pending command that uses it.Rob Landley
2022-02-12Move lib/lib.c into main.c so make.sh doesn't have to split it out seperately...Rob Landley
2022-02-10Fix @time.nanosecond parsing, and add test.Rob Landley
2022-01-30Move ANSI escape cheat sheet to tty.cRob Landley
2022-01-28Rename remains of linestack.c to utf8.cRob Landley
2022-01-28Remove the linestack plumbing, an old unfinished todo item that gotRob Landley
2022-01-10Shut up an unused variable warning triggered by an #ifdef.Rob Landley
2022-01-03Replace \033 with \e in strings.Rob Landley
2022-01-03Remove tty_esc() and tty_jump() wrappers, just output ANSI directly.Rob Landley
2022-01-01Yank some unnecessarily exported global variables that should be static.Rob Landley
2021-12-28Have llist_pop(0) return NULL the same way dlist_pop() does.Rob Landley
2021-12-27Make xsignal_all_killers() slightly less magic. (Use SIG_DFL instead of NULL.)Rob Landley
2021-12-19Minor cleanups: comments, whitespace, use \e instead of \033Rob Landley
2021-12-05Clean up password plumbing.Rob Landley
2021-12-05Move get_line() out of lib/ into last user.Rob Landley
2021-12-04Tiny cleanup.Rob Landley
2021-11-28Fix unused variable warnings found by clang/llvm 13.Rob Landley
2021-11-06Fix env properly: env -i uses old $PATH, but use new PATH= when redefined.Rob Landley
2021-11-05Yank -lrt linking entirely: when statically linked it pulls in pthreads for n...Rob Landley
2021-10-31Add HASTIMERS probe to work around bug in gcc 9.3Rob Landley
2021-10-18mkdir: return error for existing directories without -p flagMikhail Kashkarov
2021-10-05pidof: fix -s.Elliott Hughes
2021-10-01Use -dead_strip for --gc-sections on macOS.Elliott Hughes
2021-09-28The mac compiler can't optimize out unused functions.Rob Landley
2021-09-28Attempt to fix yesterday's mac commit.Rob Landley
2021-09-27Move the sys/personality.h import Mac can't do into portability.h.Rob Landley
2021-09-24Fix warnings.Rob Landley
2021-09-24macOS: add a timer_create() and timer_settimer() to fix the build.Elliott Hughes
2021-09-23timeout: use the monotonic clock.Elliott Hughes
2021-09-20strace: fix macOS build.Elliott Hughes
2021-09-17strace: initial commit.Elliott Hughes
2021-09-11Check for --help before "Not root".Rob Landley
2021-09-06Add find -lname -ilname and -d as a synonym for -depth.Rob Landley
2021-08-30Fix "xsignal 0: Invalid argument" after commit 0737ba9e8dd1.Rob Landley
2021-08-27kill: allow `kill -0` for testing process existence.Elliott Hughes
2021-08-15Samanta Navarro pointed out leftover 32 bit flag limitation in argument groups.Rob Landley
2021-08-07Change xabspath() to more granular (flag based) control interface.Rob Landley
2021-07-08Work around a posix violation in the croups filesystem that LTP requires.Rob Landley