Fri, 15 Aug 2014 10:50:39 -0500 |
Rob Landley |
If string_to_mode() is called on a base mode with S_ISDIR() and such set, pass those extra bits through.
draft
|
Mon, 21 Jul 2014 19:56:53 -0500 |
Rob Landley |
Little endian and big endian versions of peek (for host.c).
draft
|
Sat, 19 Jul 2014 20:54:29 -0500 |
Rob Landley |
find needs "c" suffix to -size.
draft
|
Tue, 24 Jun 2014 08:19:24 -0500 |
Rob Landley |
find_in_path() is supposed to work with a NULL path, but didn't. Fix it.
draft
|
Mon, 09 Jun 2014 07:12:49 -0500 |
Rob Landley |
Forgot to check in strstart().
draft
|
Wed, 21 May 2014 07:24:16 -0500 |
Rob Landley |
Add generic_signal() handler, which sets toys.signal and writes byte to toys.signalfd if set.
draft
|
Tue, 06 May 2014 06:31:28 -0500 |
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.
draft
|
Fri, 02 May 2014 06:24:11 -0500 |
Ashwini Sharma |
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.
draft
|
Mon, 24 Mar 2014 06:26:49 -0500 |
Rob Landley |
Fix mkdir -p with absolute paths.
draft
|
Tue, 11 Mar 2014 20:44:55 -0500 |
Rob Landley |
Move mkpathat to lib, remove redundant function used by patch.
draft
|
Tue, 11 Mar 2014 18:11:12 -0500 |
Rob Landley |
Add "volatile" annotation to peek/poke to stop potential optimizer overreach.
draft
|
Fri, 28 Feb 2014 23:10:03 -0600 |
Rob Landley |
Fix another bug reported by Ashwini Sharma.
draft
|
Sun, 16 Feb 2014 11:09:23 -0600 |
Rob Landley |
Various cleanups found by Tom Sparrow's static analysis.
draft
|
Thu, 19 Dec 2013 09:32:30 -0600 |
Rob Landley |
Move names_to_pid from pending to lib.
draft
|
Sun, 08 Dec 2013 13:26:05 -0600 |
Rob Landley |
Doing math on void pointers isn't portable, reported by Nathan McSween.
draft
|
Thu, 28 Nov 2013 21:11:34 -0600 |
Rob Landley |
Oops, cleaned up ifconfig uses atolx_range() instead of get_int_list(). Check that in.
draft
|
Thu, 07 Nov 2013 09:04:50 -0600 |
Rob Landley |
Tweak terminal_size to never set either to 0, and return true/false whether it could determine at least one coordinate.
draft
|
Sun, 27 Oct 2013 00:02:56 -0500 |
Rob Landley |
Refactor terminal querying.
draft
|
Mon, 16 Sep 2013 23:41:51 -0500 |
Rob Landley |
Fix -t c0 and -J as reported by heehooman at gmail on the list.
draft
|
Tue, 03 Sep 2013 17:56:28 -0500 |
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.
draft
|
Tue, 03 Sep 2013 08:30:47 -0500 |
Rob Landley |
Remove itoa/utoa, let libc do this with sprintf.
draft
|
Tue, 27 Aug 2013 23:48:54 -0500 |
Rob Landley |
Rewrite pmap to be simpler and match other implementation's output more closely.
draft
|
Thu, 08 Aug 2013 02:46:45 -0500 |
Rob Landley |
Achille Fouilleul pointed out that fdlength wasn't returning the right length in the binary search case.
|
Tue, 16 Jul 2013 00:04:56 -0500 |
Rob Landley |
Split lib/xwrap.c from lib/lib.c
|
Sun, 14 Jul 2013 22:12:22 -0500 |
Rob Landley |
New stuff added to lib.c needs review too, so make a lib/pending.c and move several functions to it.
|
Fri, 12 Jul 2013 18:10:52 -0500 |
Strake |
add grep
|
Sun, 16 Jun 2013 19:59:51 -0500 |
Rob Landley |
Add xexit() and make error_exit() use it.
|
Sun, 02 Jun 2013 00:24:24 -0500 |
Rob Landley |
Stat cleanup.
|
Sat, 01 Jun 2013 20:41:35 -0500 |
Rob Landley |
Enable readfile() and add peek() and poke() functions.
|
Sun, 19 May 2013 00:14:45 -0500 |
Rob Landley |
xioctl() error message should use hex ioctl number; that's what headers list.
|
Mon, 29 Apr 2013 12:30:28 -0500 |
Rob Landley |
Fix xabspath when last path component exists but we haven't got permissions to open it (ala readlink -f /dev/sda as a normal user). Spotted by Ashwini Sharma.
|
Mon, 22 Apr 2013 22:29:43 +0200 |
Felix Janda |
Add library function for the file permission formatting in ls and stat
|
Fri, 26 Apr 2013 02:41:05 -0500 |
Rob Landley |
Add posix headers to toynet.h, move xioctl() to lib.c, introduce lib/net.c and move xsocket() to it.
|
Sat, 20 Apr 2013 23:33:48 -0500 |
Rob Landley |
More ifconfig cleanup.
|
Sun, 14 Apr 2013 21:43:22 -0500 |
Rob Landley |
Move guts of help command into show_help() in lib/help.c, with config TOYBOX_HELP controlling infrastructure.
|
Thu, 31 Jan 2013 04:13:07 -0600 |
Rob Landley |
Fix -in behavior: descend into existing directory without prompting, show full path in error messages, actually overwrite when answering yes to -i.
|
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, 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.
|
Sun, 16 Dec 2012 13:43:36 +0100 |
Elie De Brauwer |
Extend killall with support for -v and -i
|
Sat, 08 Dec 2012 20:10:05 +0100 |
Elie De Brauwer |
Adding -s (single shot) and -o (omit pids) options to pidof
|
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, 23 Nov 2012 00:06:28 +0100 |
Jonathan Clairembault |
Add expand command as described in POSIX-2008.
|
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.
|
Fri, 16 Nov 2012 12:26:48 -0600 |
Rob Landley |
Add cut from Jason Kyungwan Han.
|
Fri, 16 Nov 2012 00:35:46 -0600 |
Rob Landley |
Add rebound support to intercept error_exit() and longjmp instead.
|
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.
|
Sun, 07 Oct 2012 19:31:12 -0500 |
Rob Landley |
Fix thinko in xpidfile()
|
Sun, 26 Aug 2012 21:17:00 -0500 |
Ashwini Kumar |
Add du command.
|
Mon, 30 Jul 2012 01:01:33 -0500 |
Rob Landley |
Add signal handler to clean up tempfile.
|
Mon, 23 Jul 2012 23:38:34 -0500 |
Rob Landley |
Workaround longstanding glibc/ld bug, ala http://sources.redhat.com/bugzilla/show_bug.cgi?id=3400, which prevents "./toybox | wc" from producing any output when toybox was statically linked.
0.4.0
|
Sat, 21 Jul 2012 22:45:05 -0500 |
Rob Landley |
Make chmod +w respect umask, implement +s and +t, fix ls to show suid/sgid/stid without x bit.
|
Sun, 15 Jul 2012 16:56:20 -0500 |
Rob Landley |
New infrastructure for od (oops).
|
Sat, 30 Jun 2012 16:31:37 -0500 |
Rob Landley |
Add NOP b (byte) suffix to atolx() since od needs it.
|
Fri, 22 Jun 2012 22:14:13 -0500 |
Rob Landley |
Minor code refactoring.
|
Sat, 09 Jun 2012 19:49:37 -0500 |
Rob Landley |
Feeding -1 to xdup() isn't an error.
|
Sun, 03 Jun 2012 00:32:12 -0500 |
Rob Landley |
Update chmod to work with new dirtree, and fix bugs in string_to_mode().
|
Fri, 01 Jun 2012 13:50:41 -0500 |
Rob Landley |
Add xrealpath() at suggestion of Ashish Briggers.
|
Wed, 16 May 2012 21:11:43 -0500 |
Rob Landley |
First pass at a complete rewrite of string_to_mode(). (It compiled!)
|
Sat, 14 Apr 2012 22:30:41 -0500 |
Rob Landley |
Rewrite dirtree so we don't need readdir, scandir, and fts.h. Rewrite ls (from scratch) to use new dirtree infrastructure. (This breaks everything else that currently uses dirtree.)
|
Tue, 20 Mar 2012 11:10:54 -0500 |
Rob Landley |
Using /dev/tty for yesno() is wrong because yes 'n' | cp -ial needs to work.
|
Mon, 19 Mar 2012 20:56:18 -0500 |
Rob Landley |
Unwind gratuitous macros.
|
Mon, 19 Mar 2012 19:57:56 -0500 |
Daniel Walter |
Add string to mode_t parser
|
Mon, 19 Mar 2012 19:19:21 -0500 |
Rob Landley |
Remove "feature test macros", replace non-portable fdprintf() with standard fprintf().
|
Thu, 08 Mar 2012 20:14:55 -0600 |
Rob Landley |
More stabs at getting #includes right, and moving off of deprecated functions.
|
Mon, 27 Feb 2012 21:56:49 -0600 |
Rob Landley |
Upgrade yesno() and make cp -i use it.
|
Sun, 26 Feb 2012 13:48:00 -0600 |
Rob Landley |
Factor out common code between killall/kill and move it to lib/lib.c, plus cleanups on kill.c.
|
Sat, 18 Feb 2012 22:44:11 -0600 |
Rob Landley |
Nathan McSween convinced me compilers that inline memset() can optimize the bzero case pretty well.
|
Sat, 18 Feb 2012 18:09:14 -0600 |
Rob Landley |
Cleanups to pidof (including some global infrastructure shared with killall).
|
Sat, 18 Feb 2012 15:12:41 -0600 |
Rob Landley |
Add killall by Andreas Heck, and factor out common pid code to lib.h.
|
Thu, 09 Feb 2012 06:09:27 -0600 |
Rob Landley |
Make atolx() error_exit() if fed a string that doesn't convert entirely into an integer.
|
Thu, 02 Feb 2012 07:27:35 -0600 |
Rob Landley |
Quick and dirty terminal_size() and yesno() functions, both of which need to be improved.
|
Wed, 28 Dec 2011 13:01:12 -0600 |
Rob Landley |
Bugfix (spotted by Nathan McSween): xread can't detect <0 if the return type is stored in an unsigned variable.
|
Mon, 12 Dec 2011 15:19:52 -0600 |
Rob Landley |
Forgot to check in loopfiles_rw changes needed by truncate.
|
Sun, 13 Nov 2011 21:05:28 -0600 |
Rob Landley |
xreadall() returns void... how does that even compile?
|
Tue, 05 Jan 2010 12:17:05 -0600 |
Rob Landley |
Add TOYBOX_SUID.
|
Tue, 05 Jan 2010 10:48:32 -0600 |
Rob Landley |
Correct return types of xstrdup() and xstrndup()
|
Thu, 16 Apr 2009 17:03:38 -0500 |
Rob Landley |
Fix bug spotted by Jean-Christphe Dubois: reserve space for null terminator.
|
Sun, 25 Jan 2009 16:34:46 -0600 |
Rob Landley |
Fix thinko.
|
Sun, 18 Jan 2009 16:19:25 -0600 |
Rob Landley |
Add mkswap.
|
Mon, 05 Jan 2009 01:05:43 -0600 |
Rob Landley |
Add -N, -I, -L, and -P options to cksum.
|
Sat, 03 Jan 2009 18:15:18 -0600 |
Rob Landley |
Check in crc_init needed by cksum. (Oops.)
|
Fri, 18 Jul 2008 08:43:18 -0500 |
Rob Landley |
Tweak from Roberto Foglietta.
|
Fri, 18 Jul 2008 05:43:44 -0500 |
Rob Landley |
Roberto Foglietta pointed out that readall() needs fdlength() to restore
|
Fri, 18 Jul 2008 04:15:59 -0500 |
Rob Landley |
Bug spotted by Roberto Foglietta: at EOF readall() should return count, not len.
|
Thu, 03 Jul 2008 19:19:00 -0500 |
Rob Landley |
Add "tee" command.
|
Sat, 17 May 2008 17:52:51 -0500 |
Rob Landley |
Fix which (the meaning of -a was reversed, and it was finding the _last_ hit).
|
Mon, 12 May 2008 00:52:27 -0500 |
Rob Landley |
Update mdev to work around the newest sysfs api breakage in the 2.6.25 kernel.
|
Sun, 13 Apr 2008 00:29:00 -0500 |
Rob Landley |
Teach get_rawline() to continue until a configurable char, and xstrndup()
|
Sun, 27 Jan 2008 16:22:41 -0600 |
Rob Landley |
Add spaces after some commas (from Charlie Shepherd).
|
Fri, 25 Jan 2008 12:54:31 +0000 |
Charlie Shepherd |
Remove extra newlines on error_paths
|
Fri, 25 Jan 2008 12:36:24 +0000 |
Charlie Shepherd |
Fix filename in header
|
Sun, 27 Jan 2008 15:26:08 -0600 |
Rob Landley |
Teach perror_exit() to take a NULL argument when we just want "command: error".
|
Sat, 19 Jan 2008 17:43:27 -0600 |
Rob Landley |
Move NEWTOY() list from end of toylist.h to generated/newtoys.h.
|
Tue, 01 Jan 2008 02:39:29 -0600 |
Rob Landley |
Fix loopfiles to not call function() on file not found.
0.0.4
|
Thu, 27 Dec 2007 21:36:33 -0600 |
Rob Landley |
Make patch's file add actually work, including directory creating and
|
Thu, 20 Dec 2007 06:30:19 -0600 |
Rob Landley |
Upgrade patch to understand creating and deleting files.
|
Tue, 18 Dec 2007 02:02:21 -0600 |
Rob Landley |
Patch command.
|
Sat, 15 Dec 2007 21:47:25 -0600 |
Rob Landley |
Start of "patch" support. Writes to stdout at the moment.
|
Sun, 09 Dec 2007 15:35:42 -0600 |
Rob Landley |
Changeset 186 assumed that toys.exitval defaults to 0. Actually change the
|
Thu, 29 Nov 2007 18:32:20 -0600 |
Rob Landley |
Add sha1sum. (No -c mode yet.) Slight tweaks to loopfiles() too.
|
Thu, 29 Nov 2007 17:49:50 -0600 |
Rob Landley |
Add loopfiles() function, make catv use it.
|
Mon, 19 Nov 2007 01:51:00 -0600 |
Rob Landley |
Replace strlcpy() with xstrcpy(), which exits if the string won't fit.
|
Thu, 15 Nov 2007 18:30:30 -0600 |
Rob Landley |
Remove trailing whitespace (thanks to Charlie Shepherd), and a couple comment
|
Thu, 15 Nov 2007 16:18:33 -0600 |
Rob Landley |
Change strlcpy not to use strncpy. (Adds 24 bytes, but doesn't memset the
|
Sun, 04 Nov 2007 15:32:59 -0600 |
Rob Landley |
Fix from Charlie Shepherd: at end of string, don't match the null terminator
|
Sun, 04 Nov 2007 15:31:06 -0600 |
Rob Landley |
xcreate(): perror already prints error name and newline, remove redundancy.
|
Thu, 11 Oct 2007 15:36:36 -0500 |
Rob Landley |
Promote help to global config option, teach error_exit() to output usage message when called
|
Thu, 04 Oct 2007 02:04:10 -0500 |
Rob Landley |
Break out dirtree.c and let it call a function instead of returning the data.
|
Wed, 15 Aug 2007 12:50:44 -0500 |
Rob Landley |
More klibc fixes from Maximilian Attems, strlcpy() this time.
|
Mon, 18 Jun 2007 00:14:03 -0400 |
Rob Landley |
Add xputs() to detect EOF on writes.
|
Fri, 15 Jun 2007 15:16:46 -0400 |
Rob Landley |
Vladimir Oleynik pointed out that va_start() twice in the same function
|
Thu, 07 Jun 2007 15:19:44 -0400 |
Rob Landley |
Work around uClibc weirdness.
|
Sun, 29 Apr 2007 19:55:21 -0400 |
Rob Landley |
Add readlink, xreadlink(), and change xrealloc() to not fight the stupid
|
Fri, 16 Feb 2007 21:08:22 -0500 |
Rob Landley |
Add atolx() which understands extensions for kilobytes and megabytes and such.
|
Sun, 04 Feb 2007 19:14:58 -0500 |
Rob Landley |
Add parent pointer to dirtree, more work on mke2fs (populate dirtree, count
|
Sun, 04 Feb 2007 19:06:07 -0500 |
Rob Landley |
Rename functions.c to lib.c. (Easier name to remember.)
base
lib/functions.c@1e13da39df52
|