aboutsummaryrefslogtreecommitdiff
path: root/lib/llist.c
AgeCommit message (Collapse)Author
2016-06-19Last commit depends on new lib code I forgot to check in. (Oops.)Rob Landley
2014-05-29Switch mtab_list to doubly linked so we can traverse in either order. ↵Rob Landley
Convert umount and df. Add dlist_terminate() to break lists for traversal in either direction.
2014-05-21Add free functions for predefined llist types.Rob Landley
2013-09-09Adjust patch to use dlist_pop()Rob Landley
2013-09-09Redo tail closer to the original design. Add more tests for large data sets. ↵Rob Landley
(Still no -f support yet.)
2012-11-22Remove readlink -m for being poorly defined ("readlink -m ↵Rob Landley
/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().
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked ↵Rob Landley
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. The actual code should be the same afterward, this is just cosmetic refactoring.
2012-07-15Genericize llist code a bit: rename llist_free() to llist_traverse(), and no ↵Rob Landley
longer accept NULL as a synonym for free.
2012-03-12Redo tail to use optargs and optionally support lseek. Add support to ↵Rob Landley
optargs and llist.c, plus add a test suite entry. Still no -f support though.
2010-01-05Typo fix in comment.Rob Landley
2008-10-23Upgrade patch to detect hunks that start after a false start.Rob Landley
Imagine a hunk that starts with a blank line, but the site to patch starts with two blank lines. Before we'd read the first blank line, think it was the start of the hunk and buffer it, read the second blank line, notice that it didn't match the second line of the hunk, and discard _both_ buffered lines of context (writing them to the output file) without checking that one of the later context lines might have been the real start of the hunk. Make it re-check the rest of the buffered context for matches each time it discards a line of buffered context.
2008-01-20Move dlist_add() to lib/llist.cRob Landley
2006-11-03Implement which. Add hello world to menuconfig. Wrap the various applet mainRob Landley
functions in main.c with USE() macros so --gc-sections can strip them.
2006-11-01Linked list functions, forgot to add this to the repository.Rob Landley