* snprintf.c (snprintf): memcpy LEN bytes, not SIZE - 1, when
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 11 Aug 2006 17:42:19 +0000 (17:42 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 11 Aug 2006 17:42:19 +0000 (17:42 +0000)
commit897f4d069bc7de018639d6937a005fd711a82e5c
tree50f9dd439e6c3c1d36a569c9c3b62c994798c624
parent01f23950084e087fae83d027dc0661561daf8246
* 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.
lib/ChangeLog
lib/snprintf.c