]> git.eshelyaron.com Git - emacs.git/commit
* frame.c (tty_frame_count): Now printmax_t, not int.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 29 Aug 2011 18:52:26 +0000 (11:52 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 29 Aug 2011 18:52:26 +0000 (11:52 -0700)
commit8a4014344e961833b940a36887bdeee4935f88bd
tree27f89a00215d1c60ca0228964008299516472490
parentc57b67fcf07e10378fbb11cf8c6aecded43d1736
* frame.c (tty_frame_count): Now printmax_t, not int.

(make_terminal_frame, set_term_frame_name): Print it.
(x_report_frame_params): In X, window IDs are unsigned long,
not signed long, so print them as unsigned.
(validate_x_resource_name): Check for implausibly long names,
and don't assume name length fits in 'int'.
(x_get_resource_string): Don't blindly alloca invocation name;
use SAFE_ALLOCA.  Use esprintf, not sprintf, in case result does
not fit in int.
src/ChangeLog
src/frame.c