aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0067163edbf..831fb6afcd0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,53 @@
12011-04-23 Eli Zaretskii <eliz@gnu.org> 12011-04-23 Eli Zaretskii <eliz@gnu.org>
2 2
3 Fix doprnt so it could be used again safely in `verror'. (Bug#8435)
4 * doprnt.c: Include limits.h.
5 (SIZE_MAX): New macro.
6 (doprnt): Return a size_t value. 2nd arg is now size_t. Many
7 local variables are now size_t instead of int or unsigned.
8 Improve overflow protection. Support `l' modifier for integer
9 conversions. Support %l conversion. Don't assume an EMACS_INT
10 argument for integer conversions and for %c.
11
12 * lisp.h (doprnt): Restore prototype.
13
14 * makefile.w32-in ($(BLD)/callint.$(O)): Depend on
15 $(SRC)/character.h.
16
17 * Makefile.in (base_obj): Add back doprnt.o.
18
19 * deps.mk (doprnt.o): Add back prerequisites.
20 (callint.o): Depend on character.h.
21
22 * eval.c (internal_lisp_condition_case): Include the handler
23 representation in the error message.
24 (verror): Call doprnt instead of vsnprintf. Fix an off-by-one bug
25 when breaking from the loop.
26
27 * xdisp.c (vmessage): Call doprnt instead of vsnprintf.
28
29 * callint.c (Fcall_interactively): When displaying error message
30 about invalid control letter, pass the character's codepoint, not
31 a pointer to its multibyte form. Improve display of the character
32 in octal and display also its hex code.
33
34 * character.c (char_string): Use %x to display the (unsigned)
35 codepoint of an invalid character, to avoid displaying a bogus
36 negative value.
37
38 * font.c (check_otf_features): Pass SDATA of SYMBOL_NAME to
39 `error', not SYMBOL_NAME itself.
40
41 * coding.c (Fencode_sjis_char, Fencode_big5_char): Use %c for
42 character arguments to `error'.
43
44 * charset.c (check_iso_charset_parameter): Fix incorrect argument
45 to `error' in error message about FINAL_CHAR argument. Make sure
46 FINAL_CHAR is a character, and use %c when it is passed as
47 argument to `error'.
48
492011-04-23 Eli Zaretskii <eliz@gnu.org>
50
3 * s/ms-w32.h (localtime): Redirect to sys_localtime. 51 * s/ms-w32.h (localtime): Redirect to sys_localtime.
4 52
5 * w32.c: Include <time.h>. 53 * w32.c: Include <time.h>.