Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-23 | Add the extra info we've got back to the error message. | Rob Landley | |
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-12 | Add xxd -o. | Elliott Hughes | |
2018-03-10 | Add getra and setra to blockdev | Ng Zhi An | |
Bug: 74390492 | |||
2018-01-14 | Switch xgettty() -> tty_fd() (returning -1 instead of erroring out if none). | Rob Landley | |
2017-12-27 | Promote setfattr | Rob Landley | |
2017-12-26 | Add xxd -i (and xxd -ri). | Elliott Hughes | |
The original xxd doesn't support -r with -i. The original also outputs "unsigned char name[] = { ... };" for input other than stdin, but that actually makes it less useful --- many languages support array initializers, but far fewer support that exact declaration syntax. Also fix the -c range checking and defaulting: ><= in the argument string only works for floating point arguments. Bug: http://b/64711851 | |||
2017-12-03 | Add uptime -p. | Elliott Hughes | |
We (Android) give up trying to teach folks what "up 142 days, 1:45" means... Bug: http://b/65205261 | |||
2017-12-02 | Android has its loop devices under "block" as Elliott says "by reason of | Rob Landley | |
historical accident", so fall back to check there. Also remove an obsolete comment TODO block, check !parent for dirtree top of tree instead of '/' in the filename, and typecast some printf arguments for 32-bit systems. | |||
2017-10-31 | Only show LABEL= when there is one. | Rob Landley | |
2017-10-10 | Tweak help_exit() to show "See %s --help" message on the same line. | Rob Landley | |
2017-09-21 | Add #warning about musl intentionally breaking chrt. | Rob Landley | |
2017-07-17 | Split out xgetaddrinfo() from xconnect() | Rob Landley | |
2017-05-27 | Replace two space indents with tab indents in help text (for consistency). | Rob Landley | |
2017-05-27 | Add separators in help -a with command name. | Rob Landley | |
2017-05-26 | Be more consistent about periods in help text. | Elliott Hughes | |
2017-05-24 | Add and use xmmap. | Elliott Hughes | |
Everyone forgets that mmap returns MAP_FAILED rather than NULL on failure. Every use of mmap in toybox was either doing the wrong check, or no check at all (including the two I personally added). | |||
2017-05-21 | Promote chrt | Rob Landley | |
2017-05-14 | factor shouldn't give incorrect answers for >64-bit integers. | Elliott Hughes | |
2017-04-30 | Building mkpasswd on Android makes no sense. | Elliott Hughes | |
And won't work anyway because we don't have crypt(3). | |||
2017-03-22 | Implement uptime -s. | Elliott Hughes | |
Also add trivial tests. | |||
2017-03-20 | Add TOYBOX_PEDANTIC_ARGS to check arguments when there are no arguments, | Rob Landley | |
and make uptime use it. | |||
2017-02-18 | Ascii only showed 15 rows instead of 16 and spacing was wrong for 96-100. | Rob Landley | |
2017-02-07 | Add ascii: display ascii table. | Rob Landley | |
2017-02-04 | Switch oneit to use xopen_stdio() for -c (oops) and switch XVFORK() to use | Rob Landley | |
__attribute__((returns_twice)) instead of noinline. Yes LLVM supports it: https://llvm.org/bugs/show_bug.cgi?id=6287 | |||
2017-01-28 | Add missing `static`s and remove an unused function. | Elliott Hughes | |
2017-01-28 | Whitespace. | Rob Landley | |
2016-12-30 | Remove unnecessary casts in stat.c, fix a claimed buffer length. | Elliott Hughes | |
POSIX does have a name for the struct timespec in struct stat. | |||
2016-12-26 | Move hostid to toys/example and have it "default n". | Rob Landley | |
A "globally unique 32 bit number" is a concept the Linux world has outgrown. | |||
2016-11-21 | Have dirtree_notdotdot() pass through !node->parent so . and .. on the command | Rob Landley | |
line aren't filtered out. Audited all the callers and removed redundant calls, adjusted call sequence, etc. (And let rm _not_ do this, because posix.) | |||
2016-10-25 | Add fallocate -o. | Elliott Hughes | |
Also improve error reporting. | |||
2016-10-22 | Tweak help text. | Rob Landley | |
2016-10-20 | Close to cutting a release and I don't want to have setfattr in defconfig | Rob Landley | |
without getfattr, so I'm putting it back in pending for now. | |||
2016-09-28 | Make setns depend on TOYBOX_CONTAINER probed value. | Rob Landley | |
2016-09-05 | Replace loopfiles' failok with WARN_ONLY open flag. | Rob Landley | |
2016-08-20 | Promote setfattr | Rob Landley | |
2016-08-18 | Change xgetpwnamid/xgetgrnamid to xgetuid/xgetgid returning the id number | Rob Landley | |
instead of a struct. This means it can return "12345" even if that user/group doesn't exist in /etc/passwd and similar. All the users were immediately dereferencing it to get pw_uid or gr_gid anyway, so just return it directly and adjust the users. This fixes things like "chown 12345:23456 filename". | |||
2016-08-16 | Add length modifier to date escapes, and length sanity check. | Rob Landley | |
2016-08-15 | Make "stat -c %37G file" and "stat -c %.5G file" work, and fix %U and %G to | Rob Landley | |
not segfault on a lookup failure (they print the number instead of UNKNOWN). The whitespace in the default output may need some adjusting. | |||
2016-08-11 | Matthias Urhahn pointed out that %b returns hardwired 512 byte units | Rob Landley | |
(man 2 stat says so) and %B is the units on %b (I.E. always 512), so change output and help text. This matches what other implementations produce. | |||
2016-08-04 | Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout, | Rob Landley | |
add xopenro() that takes one argument and understands "-" means stdin, and switch over lots of users. | |||
2016-07-29 | Izabera reporeted that FLAG_v was never checked in timeout. (Oops.) | Rob Landley | |
2016-07-05 | Implement xxd -s. | Elliott Hughes | |
2016-07-03 | Promote netsat, and move ifconfig, netcat, and rfkill to new toys/net directory. | Rob Landley | |
2016-06-15 | Add readlink0() and readlinkat0() which null terminate the data. | Rob Landley | |
2016-06-12 | Finish switching to dev_major/dev_minor. | Elliott Hughes | |
7ca5dc4232b9ac5ee5cd25c8b5b33a58904cd251 didn't switch all callers over to the new functions. |