diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 42c7d06168f..9aff9fbbc53 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,33 @@ | |||
| 1 | 2011-04-18 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-19 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | |||
| 3 | Replace pEd with more-general pI, and fix some printf arg casts. | ||
| 4 | * lisp.h (pI): New macro, generalizing old pEd macro to other | ||
| 5 | conversion specifiers. For example, use "...%"pI"d..." rather | ||
| 6 | than "...%"pEd"...". | ||
| 7 | (pEd): Remove. All uses replaced with similar uses of pI. | ||
| 8 | * src/m/amdx86-64.h, src/m/ia64.h, src/m/ibms390x.h: Likewise. | ||
| 9 | * alloc.c (check_pure_size): Don't overflow by converting size to int. | ||
| 10 | * bidi.c (bidi_dump_cached_states): Use pI to avoid cast. | ||
| 11 | * data.c (Fnumber_to_string): Use pI instead of if-then-else-abort. | ||
| 12 | * dbusbind.c (xd_append_arg): Use pI to avoid cast. | ||
| 13 | (Fdbus_method_return_internal, Fdbus_method_error_internal): Likewise. | ||
| 14 | * font.c (font_unparse_xlfd): Avoid potential buffer overrun on | ||
| 15 | 64-bit hosts. | ||
| 16 | (font_unparse_xlfd, font_unparse_fcname): Use pI to avoid casts. | ||
| 17 | * keyboard.c (record_char, modify_event_symbol): Use pI to avoid casts. | ||
| 18 | * print.c (safe_debug_print, print_object): Likewise. | ||
| 19 | (print_object): Don't overflow by converting EMACS_INT or EMACS_UINT | ||
| 20 | to int. | ||
| 21 | Use pI instead of if-then-else-abort. Use %p to avoid casts. | ||
| 22 | * process.c (Fmake_network_process): Use pI to avoid cast. | ||
| 23 | * region-cache.c (pp_cache): Likewise. | ||
| 24 | * xdisp.c (decode_mode_spec): Likewise. | ||
| 25 | * xrdb.c (x_load_resources) [USE_MOTIF]: Use pI to avoid undefined | ||
| 26 | behavior on 64-bit hosts with printf arg. | ||
| 27 | * xselect.c (x_queue_event): Use %p to avoid casts. | ||
| 28 | (x_stop_queuing_selection_requests): Likewise. | ||
| 29 | (x_get_window_property): Don't truncate byte count to an 'int' | ||
| 30 | when tracing. | ||
| 2 | 31 | ||
| 3 | * frame.c (frame_name_fnn_p): Get rid of strtol, which isn't right | 32 | * frame.c (frame_name_fnn_p): Get rid of strtol, which isn't right |
| 4 | here, since it parses constructs like leading '-' and spaces, | 33 | here, since it parses constructs like leading '-' and spaces, |