summaryrefslogtreecommitdiff
path: root/lib/xutil.c
AgeCommit message (Collapse)Author
2009-12-01xutil: Implement xstrndup without relying on strndup.Carl Worth
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.
2009-11-09libify: Move library sources down into lib directory.Carl Worth
A "make" invocation still works from the top-level, but not from down inside the lib directory yet.