aboutsummaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-12-01 12:51:39 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-12-01 12:51:39 -0800
commit8b445212e46a194b59edbd6857449430fe460165 (patch)
tree7133fd094201bb6ef7702034a65b59858bba66e2 /compat
parente5316b320a51915fc1dbdd8724643931cd03327f (diff)
xutil: Implement xstrndup without relying on strndup.
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.
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions