Mercurial > hg > xemacs-beta
view src/s/sunos4-1-3.h @ 4646:6c6bfdb80a0c
Prevent integer overflow and subsequent crashes when attempting to load large
images. See <870180fe0907011540m7509f371h97d336477145166a@mail.gmail.com> in
xemacs-patches.
author | Jerry James <james@xemacs.org> |
---|---|
date | Wed, 01 Jul 2009 16:42:11 -0600 |
parents | 3ecd8885ac67 |
children |
line wrap: on
line source
/* Synched up with: FSF 19.31. */ #include "sunos4-1.h" #if 0 /* XEmacs: FSF 19.31 removes this. Let's just comment it out. */ /* TERMIOS is broken under SunOS?? Someone says: This causes failure in process_send_signal (tcgetattr loses) and may also cause hanging at Emacs startup when parent is not a job control shell. */ /* murray@chemical-eng.edinburgh.ac.uk says this works, and avoids the problem of spurious ^M in subprocess output. */ #undef HAVE_TERMIOS #endif /* 0 */ #if 0 /* XEmacs: FSF 19.31 mistakenly reenables this. */ /* jik@gza.com says this works now. */ /* The bug that corrupts GNU malloc's memory pool is fixed in SunOS 4.1.3. */ #undef SYSTEM_MALLOC #endif /* 0 */ /* barrie@calvin.demon.co.uk says memmove is missing. */ #ifndef SYSTEM_MALLOC #define MEMMOVE_MISSING #endif