log lib/lib.c @ 1399:a0c328bc2c14 draft

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