Commit 897f4d069bc7de018639d6937a005fd711a82e5c

Paul Eggert 2006-08-11T17:42:19

* snprintf.c (snprintf): memcpy LEN bytes, not SIZE - 1, when LEN is smaller than SIZE. Suggested by Bruno Haible. Also, help the compiler to keep LEN in a register.