Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-12 | Add tests for file stdin behavior. | 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-03 | call strip as $STRIP | Francesco Valla | |
This is useful e.g. for cross toolchains that define $CC and $STRIP instead of $CROSS_COMPILE. | |||
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-19 | Add buildroot prerequisites to roadmap. | Rob Landley | |
2018-05-07 | remove also "symlink" after file.test | Reverend Homer | |
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-08 | Add -- to "eval". | Rob Landley | |
If you ever do have a command name beginning with a -, eval won't run it by default, because even though it takes no arguments it tries to parse them anyway, so it complains it's an unrecognized argument. Solution: -- as first argument (which is parsed and stops argument parsing). | |||
2018-04-08 | Fix error message: update $NAME before complaining about test with wrong # args. | Rob Landley | |
2018-04-08 | Ubuntu's ln -f dies if you do "ln -s link link; ln -sf / link". Toybox's | Rob Landley | |
ln -f does the rm and retry if the first attempt fails for any reason. So if you run the readlink test with an ubuntu host $PATH, it fails, but it works with a toybox host path. | |||
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 | Factor out xtempfile() | Rob Landley | |
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 | Library probes need $LDFLAGS (for --static) | Rob Landley | |
2018-04-02 | Second argument to inet_ntop() is int, not long. (64 bit big endian systems ↵ | Rob Landley | |
care.) | |||
2018-03-31 | Use XVFORK() macro, add option ranges, make lookup_port() check /etc/services, | Rob Landley | |
remove redundant CLOEXEC (xsocket does it) and CFG_NETCAT_LISTEN test (we're not doing FORCE_FLAGS so FLAG_L and FLAG_l become zero), remove comments about vfork triggering compiler/libc bugs (XVFORK handles it). | |||
2018-03-31 | Remove semicolon from WOULD_EXIT() macro (screws up if statement levels). | Rob Landley | |
2018-03-28 | Haroon Maqsood pointed out "vmstat 1 1" didn't stop and "vmstat -n" didn't | Rob Landley | |
print the first header line. | |||
2018-03-26 | Rename demo_human_readable.c->demo_number.c and have it do atolx() too. | Rob Landley | |
2018-03-23 | Fix break caused by removing toys/e2fs.h. | Rob Landley | |
2018-03-23 | Add the extra info we've got back to the error message. | Rob Landley | |
2018-03-23 | Inline toys/e2fs.h into mke2fs.c. (Debris from the dawn of time.) | Rob Landley | |
2018-03-22 | atolx should use tolower instead of toupper | Minghui Liu | |
2018-03-21 | Collate two error messages that both mean "your kernel is broken". | Rob Landley | |
2018-03-21 | Fix vmstat for large machines. | Elliott Hughes | |
48 cores is too much to fit in toybuf. | |||
2018-03-20 | Fix atolx not integer error when used with suffix *d | Minghui Liu | |
2018-03-20 | Minghui Liu pointed out that the b and c suffixes were reported as errors. | Rob Landley | |
2018-03-19 | Ryan Prichard pointed out that du -d0 should act like du -s, but the plumbing | Rob Landley | |
wouldn't let him assign a negative default value, so I fixed it. | |||
2018-03-18 | Un-default fmt(1) while it's in pending. | Elliott Hughes | |
2018-03-18 | The author of that bc.c says it won't be ready for 6 months and I'm not | Rob Landley | |
to touch it in the meantime, so no point having it in pending. | |||
2018-03-14 | Fix last uninitialized warning. | Elliott Hughes | |
clang is fine with the noreturn nature of error_exit, but only if we don't `if (false)` it out for non-debug builds. lib/args.c:304:18: error: variable 'temp' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized] } else if (CFG_TOYBOX_FLOAT && new->type == '.') { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/toybox/generated/config.h:11:26: note: expanded from macro 'CFG_TOYBOX_FLOAT' ^ external/toybox/lib/args.c:308:19: note: uninitialized use occurs here options = --temp; ^~~~ external/toybox/lib/args.c:304:14: note: remove the 'if' if its condition is always true } else if (CFG_TOYBOX_FLOAT && new->type == '.') { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ external/toybox/lib/args.c:255:15: note: initialize the variable 'temp' to silence this warning char *temp; ^ = NULL | |||
2018-03-13 | Add beep feature to watch | Minghui Liu | |