Age | Commit message (Collapse) | Author | |
---|---|---|---|
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.) | |||
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-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 | 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-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-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-13 | Add beep feature to watch | Minghui Liu | |
2018-03-12 | bc cleanup: a few obvious inlines. | Rob Landley | |
Inline #define bcg TT (from generated/globals.h) Inline BC_FLAG with FLAG_ values from generated/flags.h. Replace BC_MAX() and BC_MIN() with maxof() and minof() from Inline BC_INVALID_IDX (it's used twice and doesn't need a typecast). Inline bc_func_insertParam() and bc_func_insertAuto() (each is used once). | |||
2018-03-12 | bc cleanup: move for(int i;) declarations to int i; for(i;). | Rob Landley | |
Coding style: declarations go at the start of blocks. | |||
2018-03-12 | Add xxd -o. | Elliott Hughes | |
2018-03-11 | Add bc to pending | Gavin Howard | |
2018-03-10 | Add getra and setra to blockdev | Ng Zhi An | |
Bug: 74390492 | |||
2018-02-22 | Bugfix, facility values are <<3 in the headers. | Rob Landley | |
2018-02-18 | Work around a musl-libc bug that has facilitynames/prioritynames in headers | Rob Landley | |
but then the link fails. | |||
2018-02-17 | Add RFC link to the examples. | Rob Landley | |
2018-02-10 | Fix ps -T again, but this time read files from tid directory, not pid. | Rob Landley | |
(Otherwise updating pid to parents makes threads read thread parent data.) | |||
2018-02-10 | Rename struct strawberry -> struct ofields, and carveup -> procpid. | Rob Landley | |
The first contains display fields selectable by the -o argument, the second contains the /proc/$PID data for one process. | |||
2018-02-09 | Andreas Gampe suggested a different fix. | Rob Landley | |
(Bionic _does_ do the malloc(0)!=0 thing, the problem is pedantic access checking, not null dereference. So test count instead.) | |||
2018-02-08 | Thinko pointed out by Andreas Gampe (causing segfaults in top, oops). | Rob Landley | |
2018-02-04 | Add crc32. | Rob Landley | |
In cksum, make -H pad with leading zeroes to 8 chars, don't output len with -N, and don't output filename with zero arguments. | |||
2018-01-31 | Ahem, I _said_ basic ping support. | Rob Landley | |
2018-01-24 | Revert the ps -T thing until I understand what Elliott wants. | Rob Landley | |
2018-01-21 | gzip cleanup: fix test_gzip, unify do_gzip/do_gunzip, inline gzerror_msg(). | Rob Landley | |
2018-01-20 | Fix gunzip to past test_gunzip. | Rob Landley | |
2018-01-15 | Fix "ps -T 1234" to show thread belonging to that PID. | Rob Landley | |
2018-01-15 | Merge shared_main() back into ps_main() and top_main(), add comments. | Rob Landley | |
2018-01-15 | Add more comments to ps. | Rob Landley | |
2018-01-14 | Switch xgettty() -> tty_fd() (returning -1 instead of erroring out if none). | Rob Landley | |
2018-01-06 | Move millitime() into lib.c. | Rob Landley | |
2018-01-03 | Cleanup pass on gzip.c. | Rob Landley | |
2018-01-01 | Promote logger, and fluff up help text a bit. | Rob Landley | |
2018-01-01 | Cleanup logger.c, and move the facilitynames/prioritynames SYSLOG_NAMES | Rob Landley | |
stuff syslog.h does into lib.c and portability.h | |||
2017-12-29 | Promote iconv. | Rob Landley | |
2017-12-29 | Cleanup iconv. | Rob Landley | |
Implement -c, fix endless loop when illegal char happens with !outleft (don't need to check errno, just in == toybuf), refill buffer each time (less efficient handling of illegal chars but never have to worry about how long constitutes a valid sequence in unknown encoding). Fix input longer than 2k (memmove() has src/dest switched, second time through loop in starts at offset inleft...) Made it start at beginning every time. Switch iconv_open() error msg to show to/from and errno (rather than hardwired english text). | |||
2017-12-27 | Promote setfattr | Rob Landley | |
2017-12-27 | Minor cleanup on setfattr.c | 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 |