Mercurial > hg > xemacs-beta
annotate 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 |
rev | line source |
---|---|
269 | 1 /* Synched up with: FSF 19.31. */ |
2 | |
4759
aa5ed11f473b
Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents:
269
diff
changeset
|
3 /* For building XEmacs under HPUX 11.0 with dynamic libraries. */ |
269 | 4 |
5 #define ORDINARY_LINK | |
6 | |
7 /* XEmacs change */ | |
8 #define HPUX_USE_SHLIBS | |
9 | |
10 /* XEmacs: */ | |
11 /* Don't tell the linker to link statically */ | |
12 #ifdef NOT_C_CODE | |
13 #define START_FILES | |
14 #define LINKER "$(CC)" | |
15 #endif /* THIS IS YMAKEFILE */ | |
16 | |
17 /* get call to brk() when rerunning XEmacs */ | |
18 #define RUN_TIME_REMAP | |
19 | |
20 #include "hpux11.h" | |
21 | |
22 /* We must turn off -g since it forces -static. */ | |
23 #ifdef __GNUC__ | |
24 #undef C_DEBUG_SWITCH | |
25 #define C_DEBUG_SWITCH | |
26 #endif |