diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-08-23 19:23:34 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-08-23 19:23:34 -0700 |
commit | 9c05bccfb9cd29ab66b5c46643467671315a0f29 (patch) | |
tree | 575a7eadf45f2a93f5eb3d56b2ce6c0ef9f92279 /lisp/emacs-lisp/debug.el | |
parent | 2d85dc347ccdffc32d3dd6fa163ea94a860540de (diff) | |
download | emacs-9c05bccfb9cd29ab66b5c46643467671315a0f29.tar.gz emacs-9c05bccfb9cd29ab66b5c46643467671315a0f29.tar.bz2 emacs-9c05bccfb9cd29ab66b5c46643467671315a0f29.zip |
System-dependent integer overflow fixes.
* process.c (Fset_process_window_size): Signal an error if
the window size is outside the range supported by the lower level.
* sysdep.c (set_window_size): Return negative on error,
nonnegative on success, rather than -1, 0, 1 on not in system,
failure, success. This is simpler. Caller changed.
(serial_configure): Remove unnecessary initialization of local.
(procfs_get_total_memory) [GNU_LINUX]: Don't assume system memory
size fits in unsigned long; this isn't true on some 32-bit hosts.
Avoid buffer overrun if some future version of /proc/meminfo has a
variable name longer than 20 bytes.
(system_process_attributes) [__FreeBSD__]:
Don't assume hw.availpages fits in 'int'.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions