summaryrefslogtreecommitdiff
path: root/lib/xutil.c
Commit message (Collapse)AuthorAge
* xutil: Implement xstrndup without relying on strndup.Carl Worth2009-12-01
| | | | | | | | Since we need to do this for portability, (some systems don't have a strndup function), we might as well do it unconditionally. There's almost no disadvantage to doing so, and this has the advantages of not requiring a configure-time check nor having two different implementations, one of which would often be less tested.
* libify: Move library sources down into lib directory.Carl Worth2009-11-09
A "make" invocation still works from the top-level, but not from down inside the lib directory yet.