diff options
| author | Paul Eggert | 2012-06-06 22:11:51 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-06-06 22:11:51 -0700 |
| commit | 86f158bc15cd63740131ca102179c760a691e4c8 (patch) | |
| tree | 98c2e9ae3581147606cd4604f8cc122cf6faba4e /src/ChangeLog | |
| parent | b7014632a628bfb2a44fdb426e7ab145cc6a2eb5 (diff) | |
| download | emacs-86f158bc15cd63740131ca102179c760a691e4c8.tar.gz emacs-86f158bc15cd63740131ca102179c760a691e4c8.zip | |
* doprnt.c (doprnt): Truncate multibyte char correctly.
Without this change, doprnt (buf, 2, "%s", FORMAT_END, AP)
would mishandle a string argument "Xc" if X was a multibyte
character of length 2: it would truncate after X's first byte
rather than including all of X.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7ea9ad8f3e3..3acf12e4483 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2012-06-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * doprnt.c (doprnt): Truncate multibyte char correctly. | ||
| 4 | Without this change, doprnt (buf, 2, "%s", FORMAT_END, AP) | ||
| 5 | would mishandle a string argument "Xc" if X was a multibyte | ||
| 6 | character of length 2: it would truncate after X's first byte | ||
| 7 | rather than including all of X. | ||
| 8 | |||
| 1 | 2012-06-06 Chong Yidong <cyd@gnu.org> | 9 | 2012-06-06 Chong Yidong <cyd@gnu.org> |
| 2 | 10 | ||
| 3 | * buffer.c (word_wrap): Doc fix. | 11 | * buffer.c (word_wrap): Doc fix. |