log lib/lib.c @ 595:d8566c3321f0 0.3.0

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