Mercurial > hg > toybox
graph
-
sizeof("string") treats it as a char array _including_ the null terminator, so strncmp(dest, "string", sizeof("string")) is just strcpy. draftSat, 10 May 2014 13:24:58 -0500, by Rob Landley
-
Initial cleanup of last: mostly whitespace, move no record test to start of loop, don't bother to stat an empty file to report when an empty log was created (just report current time). draftSat, 10 May 2014 13:20:03 -0500, by Rob Landley
-
Catch duplicate command name (which breaks the build already, but doesn't identify the culprit). draftSat, 10 May 2014 13:06:31 -0500, by Rob Landley
-
Switch human_readable() to just outputing decimal kilo/mega/gigabytes, make du use it, move it from lib/pending.c to lib.c. draftTue, 06 May 2014 06:31:28 -0500, by Rob Landley
-
Fix bug reported by Ashwini Sharma: rebound has to be at the end or toy_init() doesn't zero the rest of the struct. draftMon, 05 May 2014 21:20:11 -0500, by Rob Landley
-
In function readfile(), the buffer buf is free'd when readall() fails. This free can cause a crash, if the buffer passed by user of function is not malloc'ed one. draftFri, 02 May 2014 06:24:11 -0500, by Ashwini Sharma
-
Attached is the patch for lsattr and chattr implementation. draftFri, 02 May 2014 06:17:48 -0500, by Ashwini Sharma
-
Teach cpio to set uid/gid and timestamp. (Timestamp has year 2100 problem.) draftTue, 29 Apr 2014 06:03:17 -0500, by Rob Landley
-
Cosmetic tweak: spell out "Linux Standard Base" in menuconfig. draftFri, 25 Apr 2014 05:50:00 -0500, by Rob Landley
-
Fix od bug reported by Samuel Holland ("od -v -b" was appending default output type even though an output type was specified). draftFri, 25 Apr 2014 05:48:11 -0500, by Rob Landley
-
As long as uClibc's still around and requires you to jump through hoops to get iconv(), probe and build defconfig without it if it's not there. draftWed, 23 Apr 2014 08:38:29 -0500, by Rob Landley
-
usage: is lower case (the help generator looks for that, might as well be consistent). draftWed, 23 Apr 2014 08:37:07 -0500, by Rob Landley
-
This version of fold fixes major bugs (infinite loop, overflow) and adds an option for un/refolding text. draft 0.4.8Wed, 16 Apr 2014 19:49:15 -0500, by Samuel Holland
-
Revert lots of half-finished local debris I didn't mean to check in with Isaac's roadmap update. draftWed, 16 Apr 2014 08:54:19 -0500, by Rob Landley
-
Probe for the existence of FIFREEZE and make fsfreeze depend on it. draftWed, 16 Apr 2014 07:49:32 -0500, by Rob Landley
-
Probes for O_NOFOLLOW that compile and run something aren't compatible with cross compiling, so just #define it to 0 if it's not in fcntl.h where posix-2008 says. draftTue, 15 Apr 2014 21:59:42 -0500, by Rob Landley
-
An issue in ifconfig while verifying the HW Address, which is assumed to be of the format __C2:79:38:95:CD:AB__ but can be of form __C2:79:38:95:D:A__. In this case the HW address is reported as bad. draftSun, 13 Apr 2014 16:04:16 -0500, by Ashwini sharma
-
An implementation of __printf__ is attached. draftSun, 13 Apr 2014 15:58:20 -0500, by Ashwini Sharma
-
iconv is actually something I'm missing on my current musl based system. draftSun, 13 Apr 2014 13:12:45 -0500, by Felix Janda
-
getty: build fix, clean up messages, simplify code draftSat, 12 Apr 2014 23:26:50 -0500, by Isaac Dunham
-
On further analysis, none of the glibc commands are interesting. draftSat, 12 Apr 2014 20:39:33 -0500, by Rob Landley
-
Fix date setting, and fluff out help text a bit. draftThu, 10 Apr 2014 19:40:14 -0500, by Rob Landley
-
modprobe: cleanup, incorporate Ashwini's fix for alias loading draftWed, 09 Apr 2014 17:26:09 -0500, by Isaac Dunham
-
Bugfix: if $TERM and friends aren't set, putenv() got passed a NULL. draftWed, 09 Apr 2014 09:23:17 -0500, by Rob Landley
-
Document some of the new temporary files in generated/, add anchor tags. draftWed, 09 Apr 2014 08:30:09 -0500, by Rob Landley
-
Note commands bundled with glibc but not musl. draftWed, 09 Apr 2014 07:57:08 -0500, by Rob Landley
-
A getty implementation from Sandeep Sharma and Kyungwan Han. draftWed, 09 Apr 2014 07:45:59 -0500, by Rob Landley
-
_mkflags_ had an issue for generating FLAG_xxxx macros for long options. draftWed, 09 Apr 2014 07:40:02 -0500, by Ashwini Sharma
-
generated/help.h is a lot easier to read with an extra newline between each help entry. draftMon, 07 Apr 2014 12:53:24 -0500, by Rob Landley
-
openvt tries opening several devices to get an fd that points to the current console, without a need for read or write permissions. O_RDWR implies that both O_RDONLY and O_WRONLY would work, so skip it. Reindent. draftThu, 03 Apr 2014 22:43:28 -0500, by Isaac Dunham
-
Here is a basic implementation of fold[0]. It does not support multibyte characters, though that would probably just require more switch cases. draftThu, 03 Apr 2014 18:01:44 -0500, by Samuel Holland
-
Decided not to go with the sflate implementation of deflate/inflate. The decompression side's already reimplemented in compress, and I'm working on compression side. draftWed, 02 Apr 2014 06:37:14 -0500, by Rob Landley
-
In ifconfig.c, there is a glitch in function get_addrinfo() when computing the prefix length. draftWed, 02 Apr 2014 06:35:33 -0500, by Ashwini Sharma
-
New toy fsfreeze, from Isaac Dunham, plus minor cleanups. draftTue, 01 Apr 2014 18:20:00 -0500, by Rob Landley
-
bugfix: the multiplexer increments optc and then the command the multiplexer runs increments it further, resulting in a wrong count. Fix: zero it. draftTue, 01 Apr 2014 18:18:46 -0500, by Rob Landley
-
find: clarify and expand the help for find -type draftSat, 29 Mar 2014 15:25:23 -0500, by Isaac Dunham
-
Add help.html (make defconfig && help -ah > help.html) to index. draftFri, 28 Mar 2014 22:55:30 -0500, by Rob Landley
-
Add help -a (to show all commands) and -h (to produce HTML output). draftFri, 28 Mar 2014 17:48:02 -0500, by Rob Landley
-
Fix cpio -it: don't close(fd) unless we opened it. draftThu, 27 Mar 2014 07:02:01 -0500, by Isaac Dunham
-
Several cpio bugfixes spotted by Isaac Dunham. draftTue, 25 Mar 2014 07:24:50 -0500, by Rob Landley
-
There are cases when the long options are of the format abc-def. In current implementation FLAG_xxx macros are generated for long options too. with __-__ sign in the macro, it will generate errors. draftWed, 19 Mar 2014 13:57:06 -0500, by Ashwini Sharma
-
Clarify an unclear comment pointed out by Steve Long. draftSun, 16 Mar 2014 16:27:38 -0500, by Rob Landley
-
Cleanup cpio: use getline() instead of fgets(), have getline() allocate its 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. draftThu, 13 Mar 2014 19:55:59 -0500, by Rob Landley
-
Patch from Isaac Dunham to add cpio -d, with a few tweaks by me. draftTue, 11 Mar 2014 21:10:45 -0500, by Rob Landley
-
Move mkpathat to lib, remove redundant function used by patch. draftTue, 11 Mar 2014 20:44:55 -0500, by Rob Landley
-
Add "volatile" annotation to peek/poke to stop potential optimizer overreach. draftTue, 11 Mar 2014 18:11:12 -0500, by Rob Landley
-
Promote freeramdisk from pending to other, default y. draftSun, 09 Mar 2014 14:42:28 -0500, by Rob Landley
-
Cleanup freeramdisk: tabs to 2 spaces, square brackets for option name, do optional cleanup under if (CFG_TOYBOX_FREE) guard. draftSun, 09 Mar 2014 14:38:51 -0500, by Rob Landley
-
Please find the patches attached herewith for adding 3 new commands - draftSun, 09 Mar 2014 14:27:11 -0500, by Vivek Bhagat
-
Broken URL that's been pointed out to me a couple times when I'm not at a machine I can fix it from, keep forgetting... draftSat, 08 Mar 2014 19:26:33 -0600, by Rob Landley
-
Fix header file generation to not be confused by empty (but non-NULL) option string. draftFri, 28 Feb 2014 20:46:16 -0600, by Rob Landley
-
Put all FOR_xxx blocks after all CLEANUP_xxx in generated/flags.h so the usages don't have to be in alphabetical order. draftMon, 24 Feb 2014 23:34:43 -0600, by Rob Landley
-
CLEANUP transitions require all the generated/flags.h stanzas always be present (even for commands disabled in the config) to avoid undefined symbol errors referencing FLAG_ macros. draftSun, 23 Feb 2014 20:11:06 -0600, by Rob Landley
-
Add -H option to cksum (hex output), fix to use FLAG macros. draftSat, 22 Feb 2014 08:02:09 -0600, by Rob Landley
-
Update inflate code: fixed tables, bugfixes, zcat alias. draftFri, 21 Feb 2014 22:21:59 -0600, by Rob Landley
-
Make CLEANUP transitions work, so multiple NEWTOY() can exist in the same file. draftSun, 16 Feb 2014 17:31:33 -0600, by Rob Landley
-
Various cleanups found by Tom Sparrow's static analysis. draftSun, 16 Feb 2014 11:09:23 -0600, by Rob Landley
-
Ok, _maybe_ I'm rewriting deflate from scratch rather than cleaning up the existing one, but you can't prove it. I plead the fifth, third, twelvefth, twentieth, twenty-first, twenth-fith, and twenty-seventh. draftThu, 13 Feb 2014 06:45:35 -0600, by Rob Landley
-
Fix segfault with single build of a command with bare longopts. draftSat, 08 Feb 2014 10:53:26 -0600, by Rob Landley
-
More cleanup.html documentation, still way behind... draftTue, 04 Feb 2014 06:16:44 -0600, by Rob Landley
-
Add /prefix netmask support to ifconfig, ala "ifconfig eth0 192.168.1.42/28" draftTue, 04 Feb 2014 06:13:13 -0600, by Rob Landley
-
gzip: alphebetize help entries and remove trailing literal \n, check for 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. draftSun, 02 Feb 2014 15:02:15 -0600, by Rob Landley
-
More gzip whitespace tweaks, and the occasional curly bracket. No actual code changes. draftSat, 01 Feb 2014 15:03:49 -0600, by Rob Landley
-
Add Szabolcs Nagy's deflate/inflate code from git://git.suckless.org/flate draftFri, 31 Jan 2014 06:01:30 -0600, by Rob Landley
-
Whitespace changes, and collate a couple declarations/first assignment. draftSun, 05 Jan 2014 14:43:27 -0600, by Rob Landley
-
Change header and pages so each page has its own title. draftSat, 04 Jan 2014 13:09:42 -0600, by Rob Landley
-
Replace python help converter with C implementation. draftFri, 03 Jan 2014 18:23:09 -0600, by Rob Landley
-
More work on the cleanup page, partway through describing ifconfig. draftWed, 01 Jan 2014 15:00:44 -0600, by Rob Landley
-
Add new paragraphs on trading off different _kinds_ of simplicity (easy for machine to run vs easy for humans to follow), and why comments aren't a substitute for good code. draftWed, 01 Jan 2014 14:55:53 -0600, by Rob Landley
-
The README trailed off into unfinished confusion at the end, fix up the obvious parts. draftWed, 01 Jan 2014 13:24:03 -0600, by Rob Landley
-
A few more commands in request section of roadmap. draftTue, 31 Dec 2013 09:01:32 -0600, by Rob Landley
-
Add -zZ support to grep (NUL delimited input/output). draftSun, 29 Dec 2013 11:07:23 -0600, by Rob Landley
-
Cleanup vmstat. Procs, memory, and cpu are reading right, the others not so much. draftFri, 27 Dec 2013 21:14:57 -0600, by Rob Landley
-
Pass through all the readfile() arguments from xreadfile(). draftFri, 27 Dec 2013 18:45:01 -0600, by Rob Landley
-
Noticed a few differences from standard help messages, plus a small draftFri, 27 Dec 2013 08:36:03 -0600, by Isaac Dunham
-
Attached is an implementation for ftpget/put commands. draftFri, 27 Dec 2013 08:30:32 -0600, by Ashwini Sharma
-
An implementation for brctl (ethernet bridge control). draftThu, 26 Dec 2013 09:37:03 -0600, by Ashwini Sharma
-
The recent switch from get_int_value to to atolx_range left route draftMon, 23 Dec 2013 20:58:24 -0600, by Isaac Dunham
-
Two more commands (last and more) submitted by Ashwini Sharma. draftMon, 23 Dec 2013 09:36:14 -0600, by Rob Landley
-
telnet and telnetd from Ashwini Sharma's guys. draftMon, 23 Dec 2013 09:33:48 -0600, by Rob Landley
-
Attached is an implementation for groupdel. draftMon, 23 Dec 2013 07:23:28 -0600, by Ashwini Sharma
-
IPv6 support is added into traceroute command. draftMon, 23 Dec 2013 07:15:13 -0600, by Ashwini Sharma
-
Fix some issues raised (albeit indirectly) by Isaac Dunham. draftMon, 23 Dec 2013 06:49:38 -0600, by Rob Landley
-
Ashwini sharma pointed out that show_help() doesn't exit so "ifconfig eth0 netmask" would segfault. Replace it with an error_exit(), see list for aesthetic issue this raises re: help text. draftSun, 22 Dec 2013 20:15:54 -0600, by Rob Landley
-
Add -s option, allow zero optargs for -l. (Suggested by Ashwini Sharma.) draftSun, 22 Dec 2013 19:39:12 -0600, by Rob Landley
-
killall: fix return code, improve error reporting, avoid buffer overflow. draftThu, 19 Dec 2013 22:20:08 -0600, by Rob Landley
-
Don't permute toys.optargs, cleanup code (xexec()) can free it. draftThu, 19 Dec 2013 21:38:12 -0600, by Rob Landley
-
Older python spit --version to stdout, 2.7 does it to stderr. Of course. draftThu, 19 Dec 2013 15:14:33 -0600, by Rob Landley
-
Only define MNT_DETACH for old glibc, portability.h included _before_ sys/mount.h... draftThu, 19 Dec 2013 15:11:45 -0600, by Rob Landley
-
Regression test against Ancient Build Environment (Ubuntu 8.04), fixup bit-rot. draftThu, 19 Dec 2013 15:02:18 -0600, by Rob Landley
-
ln -v support from Ashwini Sharma (comment tweak from me) draftWed, 18 Dec 2013 10:25:02 -0600, by Rob Landley
-
Ashwini Sharma added -v, I tweaked it a bit and added a couple test suite entries. draftWed, 18 Dec 2013 10:20:16 -0600, by Rob Landley
-
Fix pidof -o bug aborting output, reported by Ashwini Sharma. draftMon, 16 Dec 2013 17:41:25 -0600, by Rob Landley
-
Doing math on void pointers isn't portable, reported by Nathan McSween. draftSun, 08 Dec 2013 13:26:05 -0600, by Rob Landley
-
Can't test <0 on an unsigned, reported by Nathan McSween. draftSun, 08 Dec 2013 13:19:01 -0600, by Rob Landley
-
When building for 32-bit, the compiler can't figure out that a constant too 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. draftWed, 04 Dec 2013 22:58:42 -0600, by Rob Landley
-
Redo od whitespace with multiple output types so the columns align. draftTue, 03 Dec 2013 15:11:52 -0600, by Rob Landley
-
Minor drive-by cleanups to cpio. Whitespace, curly brackets, replace %4 with &3, turn a switch/case into if/else. draftSun, 01 Dec 2013 14:34:05 -0600, by Rob Landley
-
Cleanup help text, remove dead fields unused by linux kernel. draftSat, 30 Nov 2013 00:16:28 -0600, by Rob Landley
-
Oops, cleaned up ifconfig uses atolx_range() instead of get_int_list(). Check that in. draftThu, 28 Nov 2013 21:11:34 -0600, by Rob Landley
-
tftpd upgrade from Ashwini Sharma based on comments from Felix Janda. draftWed, 20 Nov 2013 23:01:49 -0600, by Rob Landley
-
Add test suite for blkid and clean up an editorial comment that shouldn't have been checked in. draft 0.4.7Mon, 18 Nov 2013 07:42:48 -0600, by Rob Landley
-
Support -F, and ignore -u since that's what we do anyway. draftSat, 16 Nov 2013 10:37:49 -0600, by Isaac Dunham
-
Remove leftover debris from scripts/test.sh that screws up single tests with single.sh. draftThu, 14 Nov 2013 00:18:13 -0600, by Rob Landley
-
fsck wrapper from Ashwini Sharma. (Note: this just calls filesystem-specific programs not yet in toybox.) draftSun, 10 Nov 2013 18:38:43 -0600, by Rob Landley
-
dumpleases (for dhcpd) submitted by Ashwini Sharma. draftSun, 10 Nov 2013 18:25:18 -0600, by Rob Landley
-
Filesystem images for testing blkid, from Bradley Conroy. draftSun, 10 Nov 2013 16:05:59 -0600, by Rob Landley
-
Stuff in pending should default n until cleaned up. draftSun, 10 Nov 2013 15:49:21 -0600, by Rob Landley
-
Tweak terminal_size to never set either to 0, and return true/false whether it could determine at least one coordinate. draftThu, 07 Nov 2013 09:04:50 -0600, by Rob Landley
-
Fix off by one, pointed out by Ashwini Sharma. draftSun, 03 Nov 2013 17:09:33 -0600, by Rob Landley
-
Give xstrncpy() a more informative error message. draftSat, 02 Nov 2013 14:24:54 -0500, by Rob Landley
-
Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config options isn't very interesting anymore. draftSat, 02 Nov 2013 14:24:33 -0500, by Rob Landley
-
Patch from William Haddon to make xargs with blank input call its command line once. (Tweaked slightly for whitespace and to collate variable declarations.) draftThu, 31 Oct 2013 22:22:21 -0500, by Rob Landley
-
Make the patch -x option (only enabled with CONFIG_DEBUG) provide more information about why a patch didn't apply. (Offset of first nonmatching character at each line during seek phase.) draftThu, 31 Oct 2013 09:36:55 -0500, by Rob Landley
-
Promote nl from pending to posix, and add tests. draftSun, 27 Oct 2013 02:50:55 -0500, by Rob Landley
-
Cleanup nl, add support for more bits of posix. draftSun, 27 Oct 2013 02:48:13 -0500, by Rob Landley
-
watch: Add support for -e option, remove memory leak and deal with not-wide terminals draftSun, 13 Oct 2013 15:33:32 +0200, by Elie De Brauwer
-
I noticed the user count was missing and added this, borrowing a bit of code from toys/posix/who.c. draftSat, 26 Oct 2013 12:59:28 -0500, by Jeroen van Rijn
-
Don't use $CC without $CROSS_COMPILE because $HOSTCC could be something else entirely. draftWed, 23 Oct 2013 02:52:01 -0500, by Rob Landley
-
useradd, groupadd, and mkpasswd submitted by Ashwini Sharma. draftWed, 16 Oct 2013 20:41:56 -0500, by Rob Landley
-
Minor lib/password.c cleanup, described on the list. (Inline two functions.) draftWed, 16 Oct 2013 20:01:46 -0500, by Rob Landley
-
Teach scripts/test.sh to call scripts/single.sh. draftTue, 15 Oct 2013 00:57:39 -0500, by Rob Landley
-
I've finally gotten 'cpio' into a shape where it could be useable. draftMon, 14 Oct 2013 11:15:22 -0500, by Isaac Dunham
-
blkid cleanup: more whitespace (including fixing a strange unindented if block), convert strange fstype inclusion to OLDTOY(), use "<1" arg so calling with no arguments doesn't hang, convert typedef to normal struct. draftMon, 07 Oct 2013 15:04:09 -0500, by Rob Landley
-
It's not a problem to exactly fill up the buffer with a run if the next symbol is the terminating symbol. Fixes https://jira.cyanogenmod.org/browse/CYAN-1896 draftSun, 06 Oct 2013 17:35:57 -0500, by Rob Landley
-
Fix generated/oldtoys.h to contain option strings with USE() macros in them. draftSun, 22 Sep 2013 03:37:39 -0500, by Rob Landley
-
Tweak args (yank old + that never worked, rename | to +), and add uname -o as a synonym for -s. draftSat, 21 Sep 2013 13:46:44 -0500, by Rob Landley
-
Fluff out option parsing documentation, add another DEBUG test. draftSat, 21 Sep 2013 12:24:04 -0500, by Rob Landley
-
Fix -t c0 and -J as reported by heehooman at gmail on the list. draftMon, 16 Sep 2013 23:41:51 -0500, by Rob Landley
-
Ah, that's why commit 1057 was skipped last pull: it was unfinished. Oops. (Fix it.) draft 0.4.6Wed, 11 Sep 2013 12:09:53 -0500, by Rob Landley
-
First pass of cut cleanup, and make test script slightly happier with the concept of 80 character lines. draftTue, 10 Sep 2013 02:04:45 -0500, by Rob Landley
-
Remove two unused functions and shrink another. draftTue, 10 Sep 2013 01:01:35 -0500, by Rob Landley
-
I got tired of trying to guess how much terminal time I could get in on my phone, so here's a basic acpi. draftMon, 09 Sep 2013 11:19:59 -0500, by Isaac Dunham
-
Don't write a zero past end of toybuf with large -d value. draftMon, 09 Sep 2013 06:50:00 -0500, by Rob Landley
-
Redo tail closer to the original design. Add more tests for large data sets. (Still no -f support yet.) draftMon, 09 Sep 2013 04:26:03 -0500, by Rob Landley
-
Replace for_each_pid_with_name_in_array_perform_callback_function_upon_translated_value() with name_to_pid(), comparing absolute paths or just basename() consistently as spotted by Lukasz Skalski, and adjust callers. draftTue, 03 Sep 2013 18:43:32 -0500, by Rob Landley
-
Pending cleanup page, less than half done. Some of it should probably move to the code style section. draftThu, 05 Sep 2013 23:58:35 -0500, by Rob Landley
-
Ashwini Sharma submitted route.c, adding it to pending. draftFri, 06 Sep 2013 12:21:28 -0500, by Rob Landley
-
Make [-abc] exclude logic clear argument slots when disabling options. draftFri, 06 Sep 2013 12:18:46 -0500, by Rob Landley
-
Allow shipped generated/help.h to still be used, until I rewrite the generator in C. draftThu, 05 Sep 2013 06:54:46 -0500, by Rob Landley
-
make.sh: Fix probing for python2.x and be verbose in error reporting draftFri, 30 Aug 2013 23:59:10 +0200, by Elie De Brauwer
-
env - there were 2 segfaults when run on my Ubuntu 12.04 machine: draftThu, 05 Sep 2013 04:58:06 -0500, by Jacek Bukarewicz
-
Make chdir handle permissions according to posix, reported by Jacek Bukarewicz.. draftThu, 05 Sep 2013 04:28:40 -0500, by Rob Landley
-
fix rm to handle "mkdir sub/sub && chmod 007 sub/sub && rm -rf sub". draftThu, 05 Sep 2013 04:19:37 -0500, by Rob Landley
-
Introduce libbuf analogous to toybuf but for use by lib/*.c. Change readfile() semantics to be able to read into an existing buffer, or malloc its own if that's NULL. draftTue, 03 Sep 2013 17:56:28 -0500, by Rob Landley
-
Remove itoa/utoa, let libc do this with sprintf. draftTue, 03 Sep 2013 08:30:47 -0500, by Rob Landley