Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-09 | Typo spotted by Anca Emanuel. | Rob Landley | |
2013-11-07 | Tweak terminal_size to never set either to 0, and return true/false whether ↵ | Rob Landley | |
it could determine at least one coordinate. (If you set $COLUMNS but not $ROWS, we assume you're happy with the 80x25 default for the other.) | |||
2013-11-03 | Fix off by one, pointed out by Ashwini Sharma. | Rob Landley | |
2013-11-02 | Sceond cleanup pass on vconfig | Rob Landley | |
2013-11-02 | Give xstrncpy() a more informative error message. | 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-27 | Refactor terminal querying. | Rob Landley | |
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-23 | Don't use $CC without $CROSS_COMPILE because $HOSTCC could be something else ↵ | Rob Landley | |
entirely. | |||
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 | Minor lib/password.c cleanup, described on the list. (Inline two functions.) | Rob Landley | |
2013-10-16 | Prep work for useradd by Ashwini Sharma. | Rob Landley | |
2013-10-15 | Teach scripts/test.sh to call scripts/single.sh. | 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? | |||
2013-10-06 | Whitespace tweaks and remove unused variable. | Rob Landley | |
2013-10-06 | top submitted by Ashwini Sharma | Rob Landley | |
2013-10-06 | It's not a problem to exactly fill up the buffer with a run if the next ↵ | Rob Landley | |
symbol is the terminating symbol. Fixes https://jira.cyanogenmod.org/browse/CYAN-1896 | |||
2013-10-04 | Typo: fdisk != fsck. | Rob Landley | |
2013-10-03 | Switch flag generation from shell to C. | Rob Landley | |
This should actually generate FLAG_longopt 0 #defines for disabled bare longopts (ala ls without --color). Put temporary executables under "generated" (including instlist for install). | |||
2013-09-22 | traceroute from Ashwini Sharma | Rob Landley | |
2013-09-22 | Fix generated/oldtoys.h to contain option strings with USE() macros in them. | Rob Landley | |
2013-09-21 | Update lib/args.c docs. | Rob Landley | |
2013-09-21 | Tweak args (yank old + that never worked, rename | to +), and add uname -o ↵ | Rob Landley | |
as a synonym for -s. | |||
2013-09-21 | Fluff out option parsing documentation, add another DEBUG test. | Rob Landley | |
2013-09-16 | Fix -t c0 and -J as reported by heehooman at gmail on the list. | Rob Landley | |
Also fix up help text, and hook up -c. | |||
2013-09-18 | Release announcement on web page. | Rob Landley | |
2013-09-11 | Ah, that's why commit 1057 was skipped last pull: it was unfinished. Oops. ↵0.4.6 | Rob Landley | |
(Fix it.) | |||
2013-09-10 | First pass of cut cleanup, and make test script slightly happier with the ↵ | Rob Landley | |
concept of 80 character lines. | |||
2013-09-10 | Remove two unused functions and shrink another. | Rob Landley | |
2013-09-09 | Cleanup on acpi, switch to default y. | Rob Landley | |
2013-09-09 | I got tired of trying to guess how much terminal time I could get in on my ↵ | Isaac Dunham | |
phone, so here's a basic acpi. I could probably add -c fairly easily (print type, cur_state, and max_state) -t is more difficult, since temperatures are reported in at least 1000 * degrees F and 10 * degrees C. | |||
2013-09-09 | Minor cleanups. | Rob Landley | |
2013-09-09 | Don't write a zero past end of toybuf with large -d value. | Rob Landley | |