aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)Author
2024-04-08Thinko. (Reused a variable one line too early.)Rob Landley
2024-04-05Enforce min/max for % input type (time in seconds w/millisecond granularity).Rob Landley
2024-04-05Stdout buffering broke yet more stuff.Rob Landley
2024-03-03Add mv -x to atomically swap two files.Rob Landley
2024-02-21Shut the compiler up.Rob Landley
2024-02-10Whitespace cleanup.Rob Landley
2024-01-27Fix "./truncate -s 1e2" to say "not integer" instead of "too large".Rob Landley
2024-01-23Consistently use xferror() instead of if (fflush()) perror_exit();Rob Landley
2024-01-18Switch stdout default to block buffering, replace xflush() with xferror(),Rob Landley
2024-01-10Compress help text with gzip.Rob Landley
2023-12-17Switch peek() family from int64_t to long long so base types are consistentRob Landley
2023-12-15Fix macOS posix_fallocate().Elliott Hughes
2023-12-04Fix 32 bit lib/args.c to report out of range numeric values.Rob Landley
2023-11-05Move md5/sha1/sha256 hash code to lib/hash.cRob Landley
2023-11-03file: add arm32 ELF flag decoding.Elliott Hughes
2023-11-02Move lib.c elf functions into elf.c.Rob Landley
2023-11-02riscv: decode ELF header e_flags.Elliott Hughes
2023-11-02Wean su.c off shadow.h (so ndk can build it).Rob Landley
2023-10-02Commit xgetdelim() used by fold(). (Oops.)Rob Landley
2023-10-01Set DIRTREE_SYMFOLLOW when we followed a symlink to this node.Rob Landley
2023-09-20Remove TOYFLAG_LOCALE.Rob Landley
2023-09-14Fix reset command.Rob Landley
2023-08-26Redo lib/password.c to remove shadow.h.Rob Landley
2023-08-15Make ls -k switch off --block-size, document it, and two fixes to lib/args.c.Rob Landley
2023-07-26Silence EPIPE perror_exit() more generically. (Some codepaths got missed.)Rob Landley
2023-04-28Update fs_type_name() with linux/magic.h constants, trying to correct namesRob Landley
2023-04-19portability.c: enable copy_file_range() on Android.Elliott Hughes
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