Up to [local] / src / usr.bin / awk
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_4_0_BASE
Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 15 15:54:26 2005 UTC (19 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE,
OPENBSD_4_0,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8
Changes since 1.12: +6 -5 lines
Diff to previous 1.12 (colored)
Use asprint(), not snprintf() when converting strings to numbers since CONVFMT is user-settable (hence we can't know the actual buffer size requirements) and we need to store a dynamic copy of the result anyway. Fixes a truncation issue with weird CONVFMT values and closes PR 4172 (Matthias Kilian).