log lib/lib.c @ 889:270e5aab9998

age author description
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).