Up to [local] / src / usr.bin / cvs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_6_3
Revision 1.318 / (download) - annotate - [select for diffs], Mon Aug 28 18:52:25 2017 UTC (6 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.317: +3 -7 lines
Diff to previous 1.317 (colored)
Use xasprintf() instead of calloc() + strlcpy() + memcpy() to generate the log line. Fixes a clang warning about using the wrong size argument in strlcpy(). The existing code was safe but not good strlcpy() practice. OK otto@