log

age author description
Fri, 18 Jan 2013 06:03:00 -0600 Rob Landley Adjust umask(0) for cp -p so mknod doesn't have to try to fchmodat() without the unsupported symlink nofollow flag.0.4.3
Thu, 17 Jan 2013 23:18:03 -0600 Rob Landley Switch readlink on by default, and fill out readlink.test.
Thu, 17 Jan 2013 23:16:38 -0600 Rob Landley Fix xabspath() resolving symlink after .., and properly detecting failure for last entry after nondir.
Wed, 16 Jan 2013 06:57:44 -0600 Rob Landley Make "sudo cp -rp /dev/null blah" work. Still not happy with it, fchmodat(AT_SYMLINK_NOFOLLOW) doesn't work (there's a glibc bug open for this. It's really a missing kernel syscall, but glibc fails without ever making any syscall if you feed it that flag, which isn't helpful).
Tue, 15 Jan 2013 12:33:46 -0600 Rob Landley Work around more random uClibc-specific breakage.
Mon, 14 Jan 2013 05:25:19 -0600 Rob Landley Silence deeply stupid gcc warning. (First non-declaration line of function: if (file) ffd = open(); at end of of function: if (file) close(ffd); "file" is an argument to the function and nothing else assigns to it. gcc warning on that close, "ffd may be used uninitialized!" _HOW_?)
Sun, 13 Jan 2013 13:48:25 -0600 Rob Landley Revert some debug code accidentally checked in at commit 715.
Sat, 12 Jan 2013 01:40:16 -0600 Rob Landley Update -p and -f to apply properly to various conditions. Still some bugs to squeeze out but this gets the infrastructure mostly right (and does away with the remaining gotos).
Thu, 10 Jan 2013 20:19:23 -0600 Rob Landley Teach cp to do -n.
Wed, 09 Jan 2013 05:16:48 -0600 Rob Landley Teach cp to do mknod.
Mon, 07 Jan 2013 21:28:46 -0600 Rob Landley Adapt cp to updated dirtree code.
Sat, 05 Jan 2013 00:44:24 -0600 Rob Landley Use basename() where appropriate.
Fri, 04 Jan 2013 21:10:49 -0600 Rob Landley Make basename use basename().
Wed, 02 Jan 2013 02:00:35 -0600 Rob Landley Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out other places that were setting it that no longer need to.
Mon, 31 Dec 2012 14:38:13 -0600 Rob Landley Make dirtree_handle_callback() start with dirtree_ like the rest of the dirtree functions.
Sun, 30 Dec 2012 21:35:01 -0600 Rob Landley Add losetup. (Who knows, it might even work.)
Sun, 30 Dec 2012 11:53:27 +0100 Felix Janda Fix invalid free in toysh.
Sun, 30 Dec 2012 04:43:11 -0600 Rob Landley Getting the pwd -L behavior right is fiddly.
Fri, 28 Dec 2012 22:10:21 +0100 Felix Janda Add some tests for pwd.
Thu, 27 Dec 2012 17:56:39 +0100 Felix Janda Add options -L and -P to pwd.
Sat, 29 Dec 2012 03:18:34 -0600 Rob Landley Ashwini Sharma pointed out that my previous tweak to [!abc] groups still didn't get the error reporting right (test case "touch -d 12 -r f2 f1"). This says "no 'r' with 'd'" for that, and still shouldn't be able to fall off the end of the list (segfault) because an option can't conflict with itself (that's what the ~(1<<i) on lib/args.c line 317 is for).
Thu, 27 Dec 2012 17:55:21 +0100 Felix Janda Add tests to mkfifo based on tests for mkdir.
Thu, 27 Dec 2012 17:52:14 +0100 Felix Janda mkfifo -m is already implemented.
Thu, 27 Dec 2012 18:44:37 -0600 Rob Landley Fix option grouping.
Thu, 27 Dec 2012 17:09:17 -0600 Rob Landley TOYBOX_DEBUG warns about lack of suid bit when running a STAYROOT command, but it shouldn't warn just because the multiplexer command "toybox" is stayroot.
Wed, 26 Dec 2012 19:39:51 -0600 Rob Landley A screen width of 1 is possible (in some weird setups), and gives ls -C a division by zero error.
Sun, 23 Dec 2012 15:07:28 -0600 Rob Landley Minor cleanups.
Sun, 16 Dec 2012 16:51:30 +0100 Elie De Brauwer LSB does not allow killall to kill itself
Sun, 23 Dec 2012 14:06:17 -0600 Rob Landley Minor tweaks.
Sun, 23 Dec 2012 17:44:35 +0100 Felix Janda Add some tests for mkdir
Sun, 23 Dec 2012 16:25:31 +0100 Felix Janda Add -m option to mkdir
Sun, 16 Dec 2012 13:43:36 +0100 Elie De Brauwer Extend killall with support for -v and -i
Sun, 23 Dec 2012 01:25:27 -0600 Rob Landley Elie De Brauwer pointed out that xputs() isn't reliably reporting errors because there's no flush. Rather than change the output granularity, flush before exit and check errors there. (We still need xputc() doing it so "yes" doesn't continue forever.)
Sun, 23 Dec 2012 01:21:01 -0600 Rob Landley Whitespace.
Sun, 16 Dec 2012 17:58:25 +0100 Elie De Brauwer Extend seq to support -f (format string) and -s (string separator) as requested by LSB
Sat, 22 Dec 2012 11:50:11 +0100 Elie De Brauwer Fix tac to handle the "abc\ndef" case properly
Sun, 23 Dec 2012 00:37:42 -0600 Rob Landley Update mkstatus.py, roadmap.html, and status.html.
Sat, 22 Dec 2012 11:44:21 +0100 Elie De Brauwer Refactoring broke rev
Wed, 19 Dec 2012 09:16:45 -0600 Rob Landley Web page update for release.
Wed, 19 Dec 2012 09:16:27 -0600 Rob Landley Minor cleanups.
Sun, 16 Dec 2012 12:31:15 +0100 Elie De Brauwer Adding implementation of rev including tests
Sat, 15 Dec 2012 19:51:43 +0100 Elie De Brauwer Adding tests for tac based on cat tests
Sat, 15 Dec 2012 19:28:29 +0100 Elie De Brauwer Simplify tac, the newline checking is already done in the get_line() function
Sun, 16 Dec 2012 15:27:33 -0600 Rob Landley Missing letter in help text.
Sat, 15 Dec 2012 12:29:43 -0600 Rob Landley Added tag 0.4.2 for changeset 8947c0d35e58
Wed, 12 Dec 2012 21:13:12 -0600 Rob Landley The Linux kernel "make clean" calls rm -f with no arguments, which apparently is not an error.0.4.2
Mon, 10 Dec 2012 21:08:42 -0600 Rob Landley Add stat submission to new "pending" directory, along with infrastructure to support pending.
Mon, 10 Dec 2012 01:48:02 -0600 Rob Landley essat's flag not to follow symlinks isn't in the system call, and if libc is supposed to implement this as a wrapper uClibc gets it wrong. So use the stat info about symlinks instead. (Doesn't check the parent directory, but if that's read only we can't delete the file anyway so prompting is moot.)
Sun, 09 Dec 2012 13:57:04 -0600 Rob Landley Meddle.
Sat, 08 Dec 2012 20:10:05 +0100 Elie De Brauwer Adding -s (single shot) and -o (omit pids) options to pidof
Sun, 09 Dec 2012 13:20:16 -0600 Rob Landley Set executable bits on two test scripts.
Sat, 08 Dec 2012 14:40:17 +0100 Elie De Brauwer Adding sha1sum tests based on RFC 3174
Sat, 08 Dec 2012 13:28:40 +0100 Elie De Brauwer Adding tests for cat
Sat, 08 Dec 2012 21:10:10 -0600 Rob Landley Add README file to each toys/ directory, teach build infrastructure to get fancy name from that. This means adding new directories shouldn't require touching build scripts.
Sat, 08 Dec 2012 02:26:56 -0600 Rob Landley Complicate the rm -i behavior to do what posix specifies.
Sat, 08 Dec 2012 02:25:32 -0600 Rob Landley Make yesno() always read from stdin and write to stderr. (If we need to find our tty, open /dev/tty, but existing users don't.)
Fri, 07 Dec 2012 06:26:21 -0600 Rob Landley New rm command.
Thu, 06 Dec 2012 15:15:30 -0600 Rob Landley Update link to posix in docs (open group broke their website).
Thu, 06 Dec 2012 15:13:30 -0600 Rob Landley Have dirtree_add_node() set parent so error message can provide full path.
Mon, 03 Dec 2012 16:16:06 -0600 Rob Landley Use sched_{set,get}affinity directly so musl doesn't have to provide wrappers.
Sat, 01 Dec 2012 18:30:48 -0600 Rob Landley Minor whitespace tweak.
Sat, 01 Dec 2012 18:30:20 -0600 Rob Landley First guess at what internationalization support for expand would look like.
Sat, 01 Dec 2012 18:27:37 -0600 Rob Landley Generate status page with new pubs.opengroup.org urls.
Sat, 01 Dec 2012 18:26:58 -0600 Rob Landley Remove unused structure definition.
Sat, 01 Dec 2012 18:26:21 -0600 Rob Landley The open group changed their website stupidly, so opengroup.org/onlinepubs forwards to a dead server and you have to use pubs.opengroup.org/onlinepubs now. Change the hello template to note the new location. (Waiting to see if they fix it upstream before touching every command in toys/posix.)
Sat, 01 Dec 2012 18:12:06 -0600 Rob Landley Add header that musl libc needs.
Sat, 01 Dec 2012 17:59:38 -0600 Rob Landley Fix ancient glibc workaround to force fstatat64
Sat, 01 Dec 2012 11:03:52 -0600 Rob Landley Minor cleanup: unify two codepaths that do the same thing.
Sat, 01 Dec 2012 10:53:03 -0600 Rob Landley Would the compiler like to warn me about declaring two variables with the same name in the same function? No? Carry on then...
Sat, 01 Dec 2012 00:42:01 -0600 Rob Landley Felix Janda pointed out that the r in mbrtowc() stands for "restartable" so it's already buffering the partial data we feed it, so rolling back most of the last commit to wc.
Sat, 01 Dec 2012 00:21:37 -0600 Rob Landley Re-add backspace support to expand (oops) and fix test to expect data plus backspace characters rather than the chracters cancelling each other out before output.
Fri, 30 Nov 2012 02:41:52 -0600 Rob Landley Largeish rewrite of expand, mostly described on the mailing list.
Wed, 28 Nov 2012 22:56:16 -0600 Rob Landley md5sum tests from RFC 1321
Wed, 28 Nov 2012 20:44:52 -0600 Rob Landley Use the specified compiler for preprocessing.
Wed, 28 Nov 2012 03:12:02 -0600 Rob Landley The previous wc -m didn't handle multibyte characters that crossed a buffer boundary, so take a guess at making that work. (I haven't got a test case for this. I also don't know how to handle invalid sequences so just don't count them.)
Tue, 27 Nov 2012 11:09:04 +0100 Jonathan Clairembault login: Avoid gcc to drop exit condition because of "always false condition".
Tue, 27 Nov 2012 13:55:57 -0600 Rob Landley First round of expand cleanups.
Fri, 23 Nov 2012 09:24:53 +0100 Jonathan Clairembault expand: handle backspace.
Fri, 23 Nov 2012 00:06:28 +0100 Jonathan Clairembault Add expand command as described in POSIX-2008.
Mon, 26 Nov 2012 23:36:25 -0600 Rob Landley Squash "type punned pointer" nonsense with a bigger hammer. (Sheesh.)
Mon, 26 Nov 2012 23:24:07 -0600 Rob Landley The headers of uClibc and older glibc got unhappy with O_DIRECTORY and some other stuff. Fix it up in portability.h.
Mon, 26 Nov 2012 14:14:29 -0600 Rob Landley Cleanup i18n support (#ifdefectomy, move global init to process launch). Teach make.sh to emit "#define FLAG_x 0" for options inside disabled USE macros so we can unconditionally refer to them.
Sun, 25 Nov 2012 19:23:10 -0600 Rob Landley Update touch: add remaining posix arguments, make existing ones work.
Wed, 21 Nov 2012 20:38:29 +0100 Felix Janda Make internalization support optional
Sun, 25 Nov 2012 14:40:25 -0600 Rob Landley Fix typo.
Thu, 22 Nov 2012 21:18:09 -0600 Rob Landley Remove readlink -m for being poorly defined ("readlink -m /dev/null/and/more" answers what question, exactly?), rewrite xabspath() to work right and not depend on realpath, fix subtle longstanding bug in llist_traverse().
Tue, 20 Nov 2012 09:21:52 -0600 Rob Landley Update readlink so -f works. Add -menq while there.
Tue, 20 Nov 2012 01:00:17 -0600 Rob Landley Commit 698 adding cut should ahve included the actual cut.c file. (Oops.)
Mon, 19 Nov 2012 01:49:53 -0600 Rob Landley Teach option parsing about [groups] of related options.
Sun, 18 Nov 2012 18:52:19 -0600 Rob Landley Init global context to toybox multiplexer early so error_exit() doesn't segfault trying to print current command name, and change TOYBOX_DEBUG+TOYBOX_SUID complaint about not having the suid bit set to warning rather than exit..
Sat, 17 Nov 2012 22:06:00 -0600 Rob Landley Fix leak (call endmntent).
Fri, 16 Nov 2012 18:01:35 -0600 Rob Landley More touch cleanup to use generic infrastructure: use getdate() from libc, use flag macros, option parsing can collect argument strings in global block, use existing perror_* macros.
Fri, 16 Nov 2012 15:44:45 -0600 Rob Landley Fix touch warnings (unused variables, failure to reserve space for null terminator).
Fri, 16 Nov 2012 15:36:01 -0600 Rob Landley Refactor touch (cleanup whitespace, brackets, function order), code otherwise same.
Fri, 16 Nov 2012 12:43:41 -0600 Rob Landley Add touch from Choubey Ji.
Fri, 16 Nov 2012 12:26:48 -0600 Rob Landley Add cut from Jason Kyungwan Han.
Fri, 16 Nov 2012 00:46:39 -0600 Rob Landley Set optc when optstring NULL.
Fri, 16 Nov 2012 00:35:46 -0600 Rob Landley Add rebound support to intercept error_exit() and longjmp instead.
Thu, 15 Nov 2012 16:15:51 -0600 Rob Landley Make ls default to -C if no option specified and it's outputting to a tty.
Tue, 13 Nov 2012 17:14:08 -0600 Rob Landley Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.
Tue, 13 Nov 2012 16:13:45 -0600 Rob Landley Announce release, add anchor tags to roadmap, tweak downloads in header (new bin directory pointing to downloads/binaries/$CURRENT).
Tue, 13 Nov 2012 07:33:05 -0600 Rob Landley Added tag 0.4.1 for changeset 8871e8002812
Tue, 13 Nov 2012 06:32:03 -0600 Rob Landley Older versions of glibc predated posix-2008. They still provide most of what we need, but require a boot to the headers to get them to admit it. Note that uClibc lies and claims to be glibc so we have to specifically exclude it here.0.4.1
Mon, 12 Nov 2012 02:59:56 -0600 Rob Landley Yet another attempt to get the fiddly patch file creation logic right.
Sat, 10 Nov 2012 18:24:14 -0600 Rob Landley On 32 bit platforms %ld doesn't match uint64_t, so do long long and %lld (rather than deal with verbose PRIu64 nonsense).
Sat, 10 Nov 2012 14:34:01 -0600 Rob Landley Fix reversed test: patch creates a file if /dev/null or dated the epoch _and_ first hunk being replaced is 0 lines at start of file, not one or the other.
Thu, 08 Nov 2012 15:03:03 -0600 Rob Landley Change df percentage calculation to match posix, spotted by Roy Tam.
Thu, 08 Nov 2012 11:19:07 -0600 Felix Janda wc -m only cares about counting characters. Attached is a try on implementing it and some test cases for it. The test cases are only for UTF-8 locales.
Sat, 03 Nov 2012 19:21:59 -0500 Rob Landley Make sha1sum and md5sum default to y.
Fri, 02 Nov 2012 09:50:09 -0500 Rob Landley Use stridx.
Thu, 01 Nov 2012 09:55:29 -0500 Kyungwan Han Add vconfig.c - Creates virtual ethernet devices.
Mon, 29 Oct 2012 16:55:08 -0500 Felix Janda attached are some simple tests for dirname and wc and a fix for a small typo in another test script.
Fri, 26 Oct 2012 21:15:31 -0500 Rob Landley Follow symlinks to get actual device name, getmountlist() reverses order for us now, detect stdout to full device.
Tue, 23 Oct 2012 16:28:14 -0500 Rob Landley Add md5sum in lsb, combine sha1sum (mostly shared infrastructure). Downside: current infrastructure can't give them different help text. Hmmm...
Sun, 21 Oct 2012 17:57:23 -0500 Rob Landley Put the commands at the start of menuconfig and the toybox library options at the end. (Aesthetic tweak.)
Tue, 16 Oct 2012 17:09:30 -0500 Rob Landley Update roadmap/status with new toolbox analysis based on android system/core git repo.
Mon, 08 Oct 2012 21:31:07 -0500 Rob Landley Doc tweak about test suite.
Mon, 08 Oct 2012 21:27:58 -0500 Rob Landley Simplify sha1sum a little.
Mon, 08 Oct 2012 21:24:19 -0500 Rob Landley Fix thinko for uname -m when i686 binary runs on x86_64 host.
Mon, 08 Oct 2012 00:02:30 -0500 Rob Landley New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.