diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-11 17:41:11 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-11 17:41:11 +0000 |
commit | 78bc0d8366023bf0706af3d49d00495e7968879f (patch) | |
tree | a5bd59ce5fda51732e634682ff4ceaffae72f7ee /lib/ChangeLog | |
parent | 9236b6befcef5cac424ff99619edbb0f6336a5e5 (diff) | |
download | coreutils-78bc0d8366023bf0706af3d49d00495e7968879f.tar.xz |
(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.
Diffstat (limited to 'lib/ChangeLog')
-rw-r--r-- | lib/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 7f0ed7435..802bde813 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,9 @@ +2006-08-11 Paul Eggert <eggert@cs.ucla.edu> + + * 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. + 2006-08-10 Paul Eggert <eggert@cs.ucla.edu> Import the following changes from libc: |