Up to [local] / src / usr.bin / mg
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_4_9_BASE
Revision 1.48 / (download) - annotate - [select for diffs], Sun Jan 23 00:45:03 2011 UTC (13 years, 4 months ago) by kjell
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9
Changes since 1.47: +21 -13 lines
Diff to previous 1.47 (colored)
Wrap basename,dirname with xbasename, xdirname funtions, which have fewer special cases, and use the strlcpy/strlcat src/dst/buffer len semantic. More portable to boot. Discussion and feedback from Henri Kemppainen