Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-18 | Set of commands Ed Maste got building on FreeBSD. | Rob Landley | |
2019-01-18 | First chunk of sntp code. | Rob Landley | |
2019-01-18 | Teach xpoll() to measure time if interrupted, and wait for what's left. | Rob Landley | |
2019-01-18 | Airlock: linux-s390x build grew sha256sum dependency in 420, and remove "test". | Rob Landley | |
2019-01-16 | Move xsendto() to lib/net.c. | Rob Landley | |
2019-01-14 | Minor cleanups to patch. (Mostly whitespace and brackets.) | Rob Landley | |
2019-01-13 | Better support patching files with tabs in the name. | Rob Landley | |
Patch dates are optional these days, and I should properly work back from the end and only peel off properly formatted tab+date, but "tab followed by digit" is probably good enough and nobody's ever complained about just tab. And we still don't support patching filenames with newlines in them...) | |||
2019-01-12 | Fix cp permissions when copying symlink contents, and add test. | Rob Landley | |
2019-01-12 | stat: add --format synonym for -c. | Elliott Hughes | |
Used in the AOSP x86 host build. | |||
2019-01-12 | sed: add -z. | Elliott Hughes | |
Used to construct SELinux policies in the AOSP build. I left loopfiles_lines with its hard-coded '\n' because although cut(1) also has a -z option, I can't find any case where it's used in any of the codebases searchable by me. (And fmt(1), the other user, doesn't even have the option.) YAGNI. Bug: http://b/122744241 | |||
2019-01-12 | Merge xconnect/xbind. | Rob Landley | |
2019-01-12 | patch: add -s to the synopsis line and fix typos. | Elliott Hughes | |
2019-01-11 | Fix b ending with } | Rob Landley | |
For a definition of "fix" that's even _more_ of a deviation from posix, but matches what debian does... | |||
2019-01-11 | sed: add test for AOSP build breakage. | Elliott Hughes | |
Bug: http://b/122744241 | |||
2019-01-11 | patch: add -s/--quiet. | Elliott Hughes | |
Used by AOSP build. Also switch to new FLAG macro. Bug: http://b/122739027 | |||
2019-01-08 | modprobe: don't return failure just because we didn't find global config. | Elliott Hughes | |
Without this change, a successful modprobe on Android exits with status 1 because Android doesn't have /etc/modprobe.conf or /etc/modprobe.d/ --- neither of which seem to be required on desktop Linux either. | |||
2019-01-08 | ls: Fix -t to also sort by st_mtim.tv_nsec. | Peter Collingbourne | |
2019-01-08 | file: add riscv ELF machine. | Elliott Hughes | |
It's in the Linux 4.20 kernel headers. | |||
2019-01-08 | xchdir: show the specific failure. | Elliott Hughes | |
2019-01-08 | FreeBSD doesn't #define IUTF8 in termios.h, add workaround to portability.h. | Rob Landley | |
2019-01-08 | FreeBSD will use the getmntinfo API as with Apple | Ed Maste | |
2019-01-08 | Ed Maste says freebsd hasn't got sys/xattr.h, so move it to portability.h. | Rob Landley | |
2019-01-08 | Add FreeBSD endianness support | Ed Maste | |
2019-01-08 | more: don't _exit(0) on success. | Elliott Hughes | |
If we do, we won't flush, and we might not output everything. | |||
2019-01-07 | modprobe: reset errno before ins_mod. | Elliott Hughes | |
Otherwise in verbose mode we output bogus errors instead of `Success`. | |||
2019-01-07 | Use `return` rather than `continue` to make bash 4.4 happy. | Elliott Hughes | |
Otherwise we get this error: continue: only meaningful in a 'for', 'while', or 'until' loop | |||
2019-01-02 | Josh Gao said "netcat -l -p 12345" broke: | Rob Landley | |
Previously, when trying to listen on a socket without using one of -4, -6, or -s, we tried to create an AF_UNSPEC socket, which fails. | |||
2018-12-29 | Use FLAG() macros in ps. | Rob Landley | |
2018-12-27 | ipv6 address didn't fit in the buffer. | Rob Landley | |
2018-12-27 | Make poke() alignment-agnostic. | Rob Landley | |
2018-12-26 | Teach the argument plumbing how to do -@ for mkfs.vfat | Rob Landley | |
2018-12-25 | Simplify the mkflags logic a bit. | Rob Landley | |
We're not going to USE_BLAH("a")"(longopt)" or similarly crazy corner cases, so don't try to support them. | |||
2018-12-23 | Add grep --color | Rob Landley | |
2018-12-21 | Fix UDP checksum verification error. | Elliott Hughes | |
From RFC 768, if UDP packet checksum computation yields a result of zero, change it to hex 0xFFFF. The current udhcpc checksum verification would yield false positive for this case. A better way is to compute the checksum with the original checksum field and the result should be zero for good udp packet. Signed-off-by: Yangchun Fu <yangchun@google.com> | |||
2018-12-19 | First stab at sort -V | Rob Landley | |
2018-12-19 | Fix sort -x attached to a key. | Rob Landley | |
2018-12-19 | readlink: add --canonicalize synonym for -f. | Elliott Hughes | |
Internally, Google uses all the longopts; Android currently only uses this one. I was tempted to add the others, but went with "add them when a toybox user needs them" rather than "add them when you've seen them used". | |||
2018-12-19 | md5sum/sha1sum: add --status and --check, fix --check with multiple files. | Elliott Hughes | |
Annoyingly coreutils and busybox both have the --status functionality, but coreutils only accepts --status and busybox only accepts -s. Although all extant users known to me use --status I've supported both (a) for maximum compatibility and (b) because Rob hates longopts :-) Also, -c/--check don't take argument(s): they alter the interpretation of all the FILE... arguments. I removed a bunch of dead code here, but I couldn't switch us over to loopfiles_lines because I didn't want to regress on the "warn if any check file contains no hashes", and loopfiles_lines doesn't give you any way to recognize that you've moved on to the next file. | |||
2018-12-18 | Add grep tests to "make tests". | Rob Landley | |
2018-12-17 | Use FLAG() macros in grep. | Rob Landley | |
2018-12-17 | A couple more grep tests, and slightly use dlist_terminate() for the loops. | Rob Landley | |
2018-12-17 | Only set FLAGS_NODASH when arguments didn't have a dash. | Rob Landley | |
This (eventually) lets "ps ax" and "ps -ax" behave differently. | |||
2018-12-17 | Fix remaining grep_tests. | Rob Landley | |
Handling -e by gluing together multiple regexes with | wasn't portable, break down and do a linked list with for loops. | |||
2018-12-15 | Add sed -iEXT to keep backup files. | Rob Landley | |
2018-12-14 | Add xrename() | Rob Landley | |
2018-12-11 | Implement --preserve default = mot behavior (fixes segfault when no argument). | Rob Landley | |
2018-12-10 | nc: add UDP support. | Josh Gao | |
2018-12-10 | nc: add IPv6 support. | Josh Gao | |
2018-12-09 | Support embedded NUL bytes in grep output, and free memory leaked per-file. | Rob Landley | |
2018-12-09 | More grep.tests: make exit code 2 happen when it should. | Rob Landley | |