5dc82c03ce
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". |
||
---|---|---|
.. | ||
jot.1 | ||
jot.c | ||
Makefile |