Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-04 | wc: fix the column width heuristics even further. | Elliott Hughes | |
This was found by https://kernel.googlesource.com/pub/scm/linux/kernel/git/shuah/linux-kselftest/+/master/tools/testing/selftests/splice/default_file_splice_read.sh which broke after the recent change. Plus this actually fixes another of our existing test failures on the host. I'm assuming we don't want to try the "exact fit" heuristics until we have a concrete need for them. (I haven't fully understood the circumstances under which they're used, though the two remaining host test failures appear to be because of them.) Bug: http://b/111891791 Test: ran tests | |||
2018-08-04 | file: slightly improve .class, add .dex. | Elliott Hughes | |
2018-08-03 | Typo. | Rob Landley | |
2018-08-03 | Fix error message pointed out by Reverend Homer. | Rob Landley | |
2018-08-02 | Move pending/compress.c to lib/deflate.c, first pass at genericizing it. | Rob Landley | |
2018-07-28 | Check for integer overflow in pathologically broken elf files by moving the | Rob Landley | |
sh_size>file length test inside the loop and changing the vars to unsigned. | |||
2018-07-19 | Tweak/add some comments. | Rob Landley | |
2018-07-18 | ps.c cleanups after help text reshuffle. | Rob Landley | |
2018-07-18 | Factor out "ps -o help" to show fields, move help text into -o type array, | Rob Landley | |
add comments to get_ps(). | |||
2018-07-13 | diff: fix build with -Wformat=security. | Elliott Hughes | |
The problem with testing changes on my desktop is that they won't always compile when I try to sync AOSP... | |||
2018-07-09 | Fix wc column widths. | Elliott Hughes | |
2018-07-08 | Fix ping -w and -W, fix ping -c with no reply (kept sending while waiting), | Rob Landley | |
and trim -W default to 3 seconds (so "time ping 1.2.3.4" says 5 seconds). | |||
2018-07-08 | Fix division by zero errors and double summary in ping. | Rob Landley | |
2018-07-04 | Add xgetrandom() with probe for new system call (else open/read /dev/{,u}random) | Rob Landley | |
2018-07-04 | diff: add timestamps to the ---/+++ lines and --color. | Elliott Hughes | |
(My apologies for mixing these two unrelated changes up.) | |||
2018-06-29 | Cleanup pass on passwd, needs more testing. | Rob Landley | |
2018-06-28 | stat: `stat -f` uses %T rather than %t. | Elliott Hughes | |
(At least for coreutils 8.28.) | |||
2018-06-28 | stat: fix %a in default output. | Elliott Hughes | |
`stat -c %a` doesn't output a leading zero, but `stat` does. | |||
2018-06-28 | stat: remove hideous GNUism. | Elliott Hughes | |
Even GNU coreutils 8.28 doesn't use the lopsided `quoting' any more. | |||
2018-06-28 | Tweak help text to clarify time fields are access/modification/creation time. | Rob Landley | |
2018-06-21 | Promote fmt to other | Rob Landley | |
2018-06-21 | Tweak fmt width calculation. | Rob Landley | |
2018-06-20 | Redo of fmt.c around loopfiles_lines() and understanding tab indents. | Rob Landley | |
2018-06-14 | Fix cut -DF as awk replacement by not matching delimiterless lines with -D | Rob Landley | |
2018-06-14 | Change do_lines() semantics to end with a callback(0,0) to indicate EOF, | Rob Landley | |
adjusting existing users. | |||
2018-06-14 | I tend to put extra parentheses around & because its precedence being slightly | Rob Landley | |
wonky was Dennis Ritche's one public regret about C (see https://www.lysator.liu.se/c/dmr-on-or.html). | |||
2018-06-14 | ping: support ping6 as a synonym for `ping -6`. | Elliott Hughes | |
Sadly, this is what existing scripts seem to do. | |||
2018-06-13 | ping: add -m, switch to xsetsockopt. | Elliott Hughes | |
Bug: http://b/28027677 toybox ping doesn't support -m mark Test: strace -e setsockopt ./toybox ping -c 1 -m 0x1000 127.0.0.1 | |||
2018-06-12 | top: remove flicker in interactive mode. | Elliott Hughes | |
2018-06-12 | top: running processes are shown in bold. | Elliott Hughes | |
2018-06-11 | Promote ping to toys/net | Rob Landley | |
2018-06-11 | Fix ping -f, add summary section, yank TOYFLAG_ROOTONLY. | Rob Landley | |
Traditional "ping flood" would be "ping -fi0 -c0" but we require root for -i<.2 | |||
2018-06-09 | Show workaround for the kernel bug when ping hits it. | Rob Landley | |
Patches were submitted upstream to fix it at https://patchwork.kernel.org/patch/9847017/ and http://lkml.iu.edu/hypermail/linux/kernel/1710.3/04715.html to no effect. | |||
2018-06-02 | Convert more ps help text to two columns. | Rob Landley | |
2018-05-27 | Teach "file -" to recognize ELF files, add bounds checking and comments. | Rob Landley | |
2018-05-06 | Fix bug in 'xxd' causing incorrect translation for upper-case characters. | Zach van Rijn | |
2018-05-06 | Support fractional seconds (and other time units) in `top -d`. | Elliott Hughes | |
LTP uses `top -d 0.1`, which isn't convincingly useful, but general support for other time units might be useful, and switching to xparsetime addresses both at once. Also fix 3169d948c049664bcf7216d4c4ae751881099d3e where I mistakenly treated `rev` and `toys.optflags&FLAG_b` as interchangeable. (Without this second fix, `top -b` looks fine but `top` is broken!) Also fix xparsetime to reject input such as "monkey" or "1monkey". | |||
2018-05-03 | Promote uuidgen. | Rob Landley | |
2018-05-03 | Add uuidgen. | Elliott Hughes | |
Reuse create_uuid, but make it match the current RFC. | |||
2018-04-23 | Don't include spurious '\r's in `top -b` output. | Elliott Hughes | |
2018-04-20 | Update tftp.c | filipperich | |
Optionally, accept and acknowledge OACK from server after sending original RRQ, if the server implements RFC2347 and responds first with an OACK before sending DATA packets. | |||
2018-04-18 | Add the flags linux kernel build checks for. | Rob Landley | |
2018-04-13 | Add getconf. | Rob Landley | |
2018-04-12 | Fix "cp -p" doesn't preserve timestamps bug | Minghui Liu | |
2018-04-08 | Add cp --parents | Rob Landley | |
2018-04-08 | Add mkpath() for common case of mkpathat(), and #define magic constants. | Rob Landley | |
2018-04-08 | Add readlink -m to show where a missing path would be. | Rob Landley | |
Note: ubuntu will show -m through a file, this treat that as error. | |||
2018-04-06 | Fix precedence error in vmstat. | Elliott Hughes | |
toys/other/vmstat.c:98:12: error: logical not is only applied to the left hand side of this bitwise operator [-Werror,-Wlogical-not-parentheses] if ((!toys.optflags&FLAG_n) && isatty(1)) terminal_size(0, &rows); ^ ~ | |||
2018-04-03 | Finish renameing test_* to demo_* in example directories and tweak README. | Rob Landley | |
(This way "make test_sed" isn't in the same namespace as "make test_scankey".) | |||
2018-04-02 | Second argument to inet_ntop() is int, not long. (64 bit big endian systems ↵ | Rob Landley | |
care.) |