Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2013-12-19 | toynet.h went away, missed a file... | Rob Landley | |
2013-12-18 | ln -v support from Ashwini Sharma (comment tweak from me) | Rob Landley | |
2013-12-18 | Ashwini Sharma added -v, I tweaked it a bit and added a couple test suite ↵ | Rob Landley | |
entries. | |||
2013-12-16 | Fix pidof -o bug aborting output, reported by Ashwini Sharma. | Rob Landley | |
2013-12-08 | Forgot to set new pending entry to default n. | Rob Landley | |
2013-12-08 | Can't test <0 on an unsigned, reported by Nathan McSween. | Rob Landley | |
2013-12-07 | Ashwini Sharma submitted tcpsvd/udpsvd. | Rob Landley | |
2013-12-04 | When building for 32-bit, the compiler can't figure out that a constant too ↵ | Rob Landley | |
big to fit in a long isn't trying to unless you explicitly postfix the constant with the type of the varable it's being assigned into. | |||
2013-12-03 | Redo od whitespace with multiple output types so the columns align. | Rob Landley | |
Factor out single output type into od_out_t(), call it in a loop for each type finding largest output (and if output consumes more than one byte of input average rounding up), pad each output to the largest output times number of bytes input consumed. | |||
2013-12-01 | Minor drive-by cleanups to cpio. Whitespace, curly brackets, replace %4 with ↵ | Rob Landley | |
&3, turn a switch/case into if/else. | |||
2013-11-30 | Fix cut. | Rob Landley | |
Some commands went in before "pending", and thus need cleanup but are enabled in defconfig. The fact cut used a function out of lib/pending.c is a hint it might be in this category... | |||
2013-11-30 | Cleanup help text, remove dead fields unused by linux kernel. | Rob Landley | |
2013-11-28 | Promote ifconfig from pending to other. | Rob Landley | |
2013-11-28 | Add xgetpwnam() to lib/xwrap.c. | Rob Landley | |
2013-11-28 | Move xgetpwuid() and xgetgrgid() into xwrap.c | Rob Landley | |
2013-11-26 | Ifconfig cleanup. | Rob Landley | |
2013-11-23 | The return of ifconfig cleanup. | Rob Landley | |
2013-11-20 | tftpd upgrade from Ashwini Sharma based on comments from Felix Janda. | Rob Landley | |
2013-11-18 | Add test suite for blkid and clean up an editorial comment that shouldn't ↵0.4.7 | Rob Landley | |
have been checked in. | |||
2013-11-16 | Support -F, and ignore -u since that's what we do anyway. | Isaac Dunham | |
(Really, checking the original file date is the Right Thing, but I haven't written it yet.) | |||
2013-11-10 | fsck wrapper from Ashwini Sharma. (Note: this just calls filesystem-specific ↵ | Rob Landley | |
programs not yet in toybox.) | |||
2013-11-10 | dumpleases (for dhcpd) submitted by Ashwini Sharma. | Rob Landley | |
2013-11-10 | du from Ashwini Sharma. | Rob Landley | |
2013-11-10 | Stuff in pending should default n until cleaned up. | Rob Landley | |
2013-11-10 | Add tftpd | Ashwini Sharma | |
2013-11-09 | grep doesn't allocate enough space | William Haddon | |
Grep miscalculates the amount of memory it needs to allocate when "converting strings to one big regex" when the -e flag is not specified. Since in this case "\|" is inserted between strings rather than "|", two extra bytes rather than one need to be provided for each string. I noticed this because it caused grep to seg-fault on musl when a regex of exactly seven characters is provided. | |||
2013-11-02 | Sceond cleanup pass on vconfig | Rob Landley | |
2013-11-02 | Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config ↵ | Rob Landley | |
options isn't very interesting anymore. | |||
2013-11-02 | Cleanup vconfig. | Rob Landley | |
2013-10-31 | Patch from William Haddon to make xargs with blank input call its command ↵ | Rob Landley | |
line once. (Tweaked slightly for whitespace and to collate variable declarations.) | |||
2013-10-31 | Make the patch -x option (only enabled with CONFIG_DEBUG) provide more ↵ | Rob Landley | |
information about why a patch didn't apply. (Offset of first nonmatching character at each line during seek phase.) | |||
2013-10-27 | Promote nl from pending to posix, and add tests. | Rob Landley | |
2013-10-27 | Cleanup nl, add support for more bits of posix. | Rob Landley | |
2013-10-27 | Here's a revised cpio. | Isaac Dunham | |
I've reduced the use of malloc(), dropped an extra function call, and -at least in theory- allowed proper handling of non-regular files. (If we have a file we can't read, we still should record it when it's of a type where file content is ignored). | |||
2013-10-13 | watch: Add support for -e option, remove memory leak and deal with not-wide ↵ | Elie De Brauwer | |
terminals | |||
2013-10-26 | I noticed the user count was missing and added this, borrowing a bit of code ↵ | Jeroen van Rijn | |
from toys/posix/who.c. | |||
2013-10-17 | Minor cleanup of reboot | Rob Landley | |
2013-10-01 | New toy: reboot/halt/poweroff | Elie De Brauwer | |
2013-10-16 | useradd, groupadd, and mkpasswd submitted by Ashwini Sharma. | Rob Landley | |
2013-10-16 | Prep work for useradd by Ashwini Sharma. | Rob Landley | |
2013-10-14 | I've finally gotten 'cpio' into a shape where it could be useable. | Isaac Dunham | |
This version can archive and extract directories, sockets, FIFOs, devices, symlinks, and regular files. Supported options are -iot, -H FMT (which is a dummy right now). It only writes newc, and could read newc or newcrc. This does NOT implement -d, which essentially is equivalent to mkdir -p $(dirname $FILE) for every file that needs it. Hard links are not supported, though it would be easy to add them given a hash table or something like that. I also have not implemented the "<n> blocks" output on stderr. If desired, I can add it pretty simply. There is one assumption this makes: that the mode of a file, as mode_t, is bitwise equivalent to the mode as defined for the cpio format. This is true of Linux, but is not mandated by POSIX. If it is compiled for a system where that is false, the archives will not be portable. | |||
2013-10-08 | Move blkid out of pending, default y. | Rob Landley | |
2013-10-08 | Cleanup chvt | Rob Landley | |
2013-10-08 | Cleanup blkid | Rob Landley | |
2013-10-07 | blkid cleanup: more whitespace (including fixing a strange unindented if ↵ | Rob Landley | |
block), convert strange fstype inclusion to OLDTOY(), use "<1" arg so calling with no arguments doesn't hang, convert typedef to normal struct. | |||
2013-10-07 | blkid cleanup: Convert tabs to spaces. | Rob Landley | |
2013-10-07 | Add blkid.c | Brad Conroy | |
I finally figured out the NTFS labels after reading a rant on how UTF-8 rocks and how MS switched to UTF16 or UCS1 or whatever. The reason I couldn't grep for the label (mine was "myntfs") was that it is stored as "m\0y\0n\0t\0f\0s\0\0" - found another good use for hexdump :) Notes: I only have x86 to test on, so there are a couple of places that may need bswap_{16,32} for endianness. I used a 65k buf instead of toybuf (4k) for simplicity, but tried to organize it for toybuf if wanted. I have info on more fs types, to patch with after review. blkid does output for all devices if 0 args -> read /proc/partitions? |