Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-13 | Cleanup cpio: use getline() instead of fgets(), have getline() allocate its ↵ | Rob Landley | |
own memory (instead of using toybuf), use perror_msg() instead of lower level verror_msg() (which is really an internal function needed to implement perror_msg()), don't set execute bits on created archive. | |||
2014-03-13 | Cleanup cpio: fiddle with help text, make option parsing require/exclude ↵ | Rob Landley | |
-iot combinations, move loopfiles_stdin() down after write_cpio_member() so we can hardwire it instead of using a function pointer that only ever has one value. | |||
2014-03-11 | Patch from Isaac Dunham to add cpio -d, with a few tweaks by me. | Rob Landley | |
2014-03-11 | Move mkpathat to lib, remove redundant function used by patch. | Rob Landley | |
2014-03-11 | Factor out mkpathat. | Rob Landley | |
2014-03-09 | Promote freeramdisk from pending to other, default y. | Rob Landley | |
2014-03-09 | Cleanup freeramdisk: tabs to 2 spaces, square brackets for option name, do ↵ | Rob Landley | |
optional cleanup under if (CFG_TOYBOX_FREE) guard. | |||
2014-03-09 | Please find the patches attached herewith for adding 3 new commands - | Vivek Bhagat | |
1. freeramdisk - If we unmount or detach the RAM disk based file system the Linux Kernel will not free the allocated memory associated with the RAM device. This can be useful if one wants to mount this device again: All data will be preserved. If we need to free the memory back to the Kernel, one can use the command: "toybox freeramdisk <RAM device>". 2. openvt - Successfully opens a new virtual terminal as mentioned with -c option otherwise search and open next available VT. with -s option it switches to new VT with -s -w option, it switch back successfully to originating VT. 3. deallocvt - Deallocate specified virtual teminal. if no virtual terminal is specified, it deallocates all unused VT. | |||
2014-02-28 | Fix two bugs reported by Ashwini Sharma. | Rob Landley | |
2014-02-22 | Add -H option to cksum (hex output), fix to use FLAG macros. | Rob Landley | |
2014-02-22 | Add crc code: zcat now works. | Rob Landley | |
2014-02-21 | Update inflate code: fixed tables, bugfixes, zcat alias. | Rob Landley | |
2014-02-16 | Various cleanups found by Tom Sparrow's static analysis. | Rob Landley | |
2014-02-13 | Ok, _maybe_ I'm rewriting deflate from scratch rather than cleaning up the ↵ | Rob Landley | |
existing one, but you can't prove it. I plead the fifth, third, twelvefth, twentieth, twenty-first, twenth-fith, and twenty-seventh. | |||
2014-02-10 | Not buying it, eh? | Rob Landley | |
2014-02-08 | Nothing to see here, move along. | Rob Landley | |
2014-02-07 | Move bunzip2 logic from lib into bzcat. | Rob Landley | |
2014-02-04 | Tweak help text. | Rob Landley | |
2014-02-04 | Add /prefix netmask support to ifconfig, ala "ifconfig eth0 192.168.1.42/28" | Rob Landley | |
2014-02-02 | gzip: alphebetize help entries and remove trailing literal \n, check for ↵ | Rob Landley | |
command line option groups, move len/dist tables to GLOBALS and calculate instead of including literal tables, collate enum and typedef, convert main to toybox option parsing. | |||
2014-02-01 | More gzip whitespace tweaks, and the occasional curly bracket. No actual ↵ | Rob Landley | |
code changes. | |||
2014-01-31 | Convert leading tabs to spaces for gzip. | Rob Landley | |
2014-01-31 | Add Szabolcs Nagy's deflate/inflate code from git://git.suckless.org/flate | Rob Landley | |
Confirmed with him on IRC it's ok to use under toybox license, glued the files together and hammered square peg into round hole, no other changes yet. | |||
2014-01-29 | More elaborate help text collating logic. | Rob Landley | |
2014-01-28 | init: don't use VT_OPENQRY. | Isaac Dunham | |
The original codepath checks if there is a VT available, and if there isn't sets TERM to vt102 (unless TERM is set to something other than "linux"). Otherwise, TERM is set to "linux" if it is not already set. However, we can rely on getty/... to set TERM if "linux" is not suitable. This has the benefit of dropping a slightly messy section. | |||
2014-01-28 | Two changes to shut up GCC: | Isaac Dunham | |
* __GLIBC__ was checked unconditionally; this made for a very messy build on musl. * int fd in chvt is always initialized; GCC 3.4 does not recognize this. | |||
2014-01-22 | -Eradicate (char*) casts for strings. | Isaac Dunham | |
-Don't panic on failure to write messages. -Don't panic on failure to fork; sleep an extra second instead. -s/defualt/default/g -Inline a couple functions called once. (Don't inline inittab_parsing because it is too large). | |||
2014-01-16 | Rename xmsprintf() to just xmprintf(). | Rob Landley | |
Partly because there's no supplied target string ala sprintf, and partly because I can never remember what order the m and s go in. | |||
2014-01-05 | Whitespace changes, and collate a couple declarations/first assignment. | Rob Landley | |
2013-12-29 | Add -zZ support to grep (NUL delimited input/output). | Rob Landley | |
2013-12-27 | Cleanup vmstat. Procs, memory, and cpu are reading right, the others not so ↵ | Rob Landley | |
much. | |||
2013-12-27 | Pass through all the readfile() arguments from xreadfile(). | Rob Landley | |
2013-12-27 | Noticed a few differences from standard help messages, plus a small | Isaac Dunham | |
problem with the port number handling: when no port was specified, it failed. The solution ended up dropping a couple lines. | |||
2013-12-27 | Attached is an implementation for ftpget/put commands. | Ashwini Sharma | |
2013-12-26 | An implementation for brctl (ethernet bridge control). | Ashwini Sharma | |
2013-12-26 | arping command is implemented. | Ashwini Sharma | |
2013-12-23 | The recent switch from get_int_value to to atolx_range left route | Isaac Dunham | |
broken. So here's a patch to switch it to atolx_range as well. | |||
2013-12-23 | Two more commands (last and more) submitted by Ashwini Sharma. | Rob Landley | |
2013-12-23 | telnet and telnetd from Ashwini Sharma's guys. | Rob Landley | |
2013-12-23 | Updating the email id in Copyright. | Ashwini Sharma | |
2013-12-23 | Attached is an implementation for groupdel. | Ashwini Sharma | |
This is aliased to delgroup, for a requirement at my end. Also lib/password.c is modified to along with. | |||
2013-12-23 | Pending commands default n. | Rob Landley | |
2013-12-23 | IPv6 support is added into traceroute command. | Ashwini Sharma | |
traceroute6 is made as an old toy of traceroute. | |||
2013-12-23 | Fix some issues raised (albeit indirectly) by Isaac Dunham. | Rob Landley | |
POLL_IN defined as a constant by some libc. Factor out login.c's change_identity() to xwrap.c as xsetuser(). Replace xsetuid() with xsetuser() Put a space between argument globals and non-argument globals. TT starts zeroed, don't need to re-zero entries in it. STDIN_FILENO has been 0 since 1969, even DOS copied that. Just say 0. Added an xchroot() using xchdir() to lib/xwrap.c. Remove endgrent() call until somebody can explain why it was there. | |||
2013-12-22 | Ashwini sharma pointed out that show_help() doesn't exit so "ifconfig eth0 ↵ | Rob Landley | |
netmask" would segfault. Replace it with an error_exit(), see list for aesthetic issue this raises re: help text. | |||
2013-12-22 | Add -s option, allow zero optargs for -l. (Suggested by Ashwini Sharma.) | Rob Landley | |
2013-12-22 | Promote su from pending to lsb. | Rob Landley | |
2013-12-22 | Cleanup su. | Rob Landley | |
2013-12-19 | killall: fix return code, improve error reporting, avoid buffer overflow. | Rob Landley | |
2013-12-19 | Don't permute toys.optargs, cleanup code (xexec()) can free it. | Rob Landley | |