diff options
| author | Miles Bader | 2005-09-25 22:07:01 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-09-25 22:07:01 +0000 |
| commit | 7b9dc9afcc06c9d5c3e3f75f3bb420d57cd1de12 (patch) | |
| tree | 27ba66e7b5ca9a56ca0c0a76169249ee48337e6c /src/s | |
| parent | 2f022b888f8e37778c13736539bd4434cc882eb2 (diff) | |
| parent | 5fae1caef32374fffc256f7f92952398d226fff2 (diff) | |
| download | emacs-7b9dc9afcc06c9d5c3e3f75f3bb420d57cd1de12.tar.gz emacs-7b9dc9afcc06c9d5c3e3f75f3bb420d57cd1de12.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-85
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 556-561)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 122-124)
- Update from CVS: lisp/mm-url.el (mm-url-decode-entities): Fix regexp.
- Update from CVS
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/aix4-2.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index 66b7d322b56..02225a9226f 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h | |||
| @@ -2,5 +2,23 @@ | |||
| 2 | 2 | ||
| 3 | #undef ALIGN_DATA_RELOC | 3 | #undef ALIGN_DATA_RELOC |
| 4 | 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 | |||
| 5 | /* arch-tag: 38fe75ea-6aef-42bd-8449-bc34d921a562 | 23 | /* arch-tag: 38fe75ea-6aef-42bd-8449-bc34d921a562 |
| 6 | (do not change this comment) */ | 24 | (do not change this comment) */ |