Mercurial > hg > xemacs-beta
view src/s/hpux11-shr.h @ 4954:70e8a00896e9
fix an obscure crash reading from stream devices
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-01-27 Ben Wing <ben@xemacs.org>
* event-unixoid.c (read_event_from_tty_or_stream_desc):
Don't try to write one byte into a four-byte variable, leaving
the rest undefined. This is a recipe for crashing.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 27 Jan 2010 00:44:03 -0600 |
parents | aa5ed11f473b |
children | cad59a0a3b19 |
line wrap: on
line source
/* Synched up with: FSF 19.31. */ /* For building XEmacs under HPUX 11.0 with dynamic libraries. */ #define ORDINARY_LINK /* XEmacs change */ #define HPUX_USE_SHLIBS /* XEmacs: */ /* Don't tell the linker to link statically */ #ifdef NOT_C_CODE #define START_FILES #define LINKER "$(CC)" #endif /* THIS IS YMAKEFILE */ /* get call to brk() when rerunning XEmacs */ #define RUN_TIME_REMAP #include "hpux11.h" /* We must turn off -g since it forces -static. */ #ifdef __GNUC__ #undef C_DEBUG_SWITCH #define C_DEBUG_SWITCH #endif