Mercurial > emacs
annotate src/s/aix4-2.h @ 88250:61c503e4cee5
(rmail-require-mime-maybe): Simplified.
(rmail-mode-map): Rewritten using a local binding to agree
with "(elisp)Tips for Defining".
author | Alex Schroeder <alex@gnu.org> |
---|---|
date | Sat, 21 Jan 2006 01:30:30 +0000 |
parents | d7ddb3e565de |
children |
rev | line source |
---|---|
22824 | 1 #include "aix4-1.h" |
2 | |
25567
c6181e97cf15
1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
Dave Love <fx@gnu.org>
parents:
22824
diff
changeset
|
3 #undef ALIGN_DATA_RELOC |
88155 | 4 |
5 /* On AIX Emacs uses the gmalloc.c malloc implementation. But given | |
6 the way this system works, libc functions that return malloced | |
7 memory use the libc malloc implementation. Calling xfree or | |
8 xrealloc on the results of such functions results in a crash. | |
9 | |
10 One solution for this could be to define SYSTEM_MALLOC here, but | |
11 that does not currently work on this system. | |
12 | |
13 It is possible to completely override the malloc implementation on | |
14 AIX, but that involves putting the malloc functions in a shared | |
15 library and setting the MALLOCTYPE environment variable to point to | |
16 tha shared library. | |
17 | |
18 Emacs currently calls xrealloc on the results of get_current_dir name, | |
19 to avoid a crash just use the Emacs implementation for that function. | |
20 */ | |
21 #define BROKEN_GET_CURRENT_DIR_NAME 1 | |
22 | |
23 /* arch-tag: 38fe75ea-6aef-42bd-8449-bc34d921a562 | |
24 (do not change this comment) */ |