aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)Author
2023-04-10Better adler32.Rob Landley
2023-04-05Octal escaped ~ (used as literal -~ flag) was still getting parsed asRob Landley
2023-03-23change xrunread parameter name to to_stdin, matching xwrap.cDan Bryant
2023-03-03Change FLAG(x) macros to always return 0 or 1. Treewide audit of FLAG()Rob Landley
2023-02-19Fix some accumulated HERE document issues.Rob Landley
2023-02-06Fix a couple tar --sort leaks.Rob Landley
2023-02-05Fix leading / on realpath --relative-to $PWD subdir and add someRob Landley
2023-01-31Helps to check in the dirtree changes. (Oops.)Rob Landley
2023-01-26Implement tar --wildcards and friends (filter options).Rob Landley
2023-01-23Implement DIRTREE_BREADTH.Rob Landley
2023-01-20Switch dirtree to set macro bits instead of hardwired numbers.Rob Landley
2023-01-06Rename/move xmemcmp() (which doesn't exit) to smemcmp(), and add x prefixRob Landley
2023-01-06portability.c: add newer (but common) file system types for `stat -f`.Elliott Hughes
2022-12-26Placate ASAN by replacing memcmp() with xmemcmp().Rob Landley
2022-12-23Fix handling of concatenated archives, add more tests.Rob Landley
2022-12-13Fix macos xabspath. (It did not like the linux definition of O_PATH.)Rob Landley
2022-12-07Tighten up option parsing and teach "sleep" to parse multiple args.Rob Landley
2022-12-07Fix "nohup --help" and friends.Rob Landley
2022-12-07Add just enough cgi plumbing to get the "unused variable" warning to stop.Rob Landley
2022-12-04Almost the same macros, but not quite.Rob Landley
2022-12-03Add httpd -v, fix ? in static URLs, and very start of CGI plumbing.Rob Landley
2022-12-03Fix FreeBSD 13 build.Rob Landley
2022-11-28Move a header #include to the only command that will ever use it.Rob Landley
2022-11-23Update relative path plumbing and extend realpath. More tests.Rob Landley
2022-11-20Fix xabspath() in keep symlinks mode.Rob Landley
2022-10-27Add swapoff -a -v and move octal_deslash() to lib for fstab parsing.Rob Landley
2022-10-14Ahem, make that _exit_status_ 127 (what you get when you run a commandRob Landley
2022-10-14Some waitpid() failures (such as bad PID) don't set status, so return 127.Rob Landley
2022-10-13Move num_cache from lib into its only user.Rob Landley
2022-10-07sendfile() can also return EXDEV, so fall back to read/write loop on any error.Rob Landley
2022-09-27Loop in xgetrandom() when asked to fetch more than 256 bytes at a time.Rob Landley
2022-09-08portability: Fix timer_settime_wrap for 32bit systems with 64bit time_tKhem Raj
2022-08-26xwrap.c: fix build.Elliott Hughes
2022-08-25Some headers define stdin as a macro, avoid unnecessarily stepping on that.Rob Landley
2022-08-21If the kernel hasn't got sendfile() it can return ENOSYS, not just EINVAL.Rob Landley
2022-08-19Use TOYFLAG_ARGFAIL() value for error_msg(), and add sort -C in passing.Rob Landley
2022-08-11Add loongarch's ELF value.Elliott Hughes
2022-08-09Fix fencepost error.Rob Landley
2022-07-29portability: Add some FreeBSD casesEd Maste
2022-07-28Fix --longopt= empty argument and add tests.Rob Landley
2022-07-27killall: fix a logic error in names_to_pid().Elliott Hughes
2022-07-24Make lib/args.c handle ":;", ": ", and ":; " in combination, and useRob Landley
2022-07-20Another thinko.Rob Landley
2022-07-15Don't close stdin/stdout when passing them through.Rob Landley
2022-07-12Fix comment: short options can have optional arguments.Rob Landley
2022-06-29Add same_file() and same_def_ino() convenience functions, plus minor cleanups.Rob Landley
2022-06-29Block signals in exit_signal() so sigatexit() list isn't re-entered.Rob Landley
2022-06-20xgetrandom: fix macOS build.Elliott Hughes
2022-06-17Switch getrandom() from compile time probe to __has_include()Rob Landley
2022-06-17Switch shadow.h and utmpx.h from compile time probes to __has_include().Rob Landley