NetBSD/usr.bin/jot
kamil 5dc82c03ce Generate format after setting the prec value
Otherwise we end up with setting invalid printf format: "%.-1f" (from
"if (snprintf(p, sz, "%%.%df", prec) >= (int)sz)") for prec equal to -1,
which is not canonical (rejected by gcc and clang when used explicitly).

Detected by ASan (MKSANITIZER) for "jot 8".
2020-06-14 01:26:46 +00:00
..
Makefile
jot.1
jot.c Generate format after setting the prec value 2020-06-14 01:26:46 +00:00