Mercurial > emacs
annotate src/s/aix4-2.h @ 73487:d34b38862f88
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 153-155)
- Merge from emacs--devo--0
- Update from CVS
2006-10-20 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/gnus-group.el (gnus-group-make-doc-group): Work for non-ASCII group
names.
* lisp/gnus/gnus-sum.el (gnus-select-newsgroup): Decode group name.
2006-10-19 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/message.el (message-headers-to-generate): Fix typo in docstring.
2006-10-19 Reiner Steib <Reiner.Steib@gmx.de>
* lisp/gnus/gnus.el (gnus-mime): Remove unused custom group.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-482
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 24 Oct 2006 10:42:21 +0000 |
parents | c6e45e9a83bf |
children | 43a8bd744de4 ee12d75eb214 |
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 |
52401 | 4 |
65657
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
5 /* On AIX Emacs uses the gmalloc.c malloc implementation. But given |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
6 the way this system works, libc functions that return malloced |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
7 memory use the libc malloc implementation. Calling xfree or |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
8 xrealloc on the results of such functions results in a crash. |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
9 |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
10 One solution for this could be to define SYSTEM_MALLOC here, but |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
11 that does not currently work on this system. |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
12 |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
13 It is possible to completely override the malloc implementation on |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
14 AIX, but that involves putting the malloc functions in a shared |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
15 library and setting the MALLOCTYPE environment variable to point to |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
16 tha shared library. |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
17 |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
18 Emacs currently calls xrealloc on the results of get_current_dir name, |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
19 to avoid a crash just use the Emacs implementation for that function. |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
20 */ |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
21 #define BROKEN_GET_CURRENT_DIR_NAME 1 |
c6e45e9a83bf
* s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Define
Dan Nicolaescu <dann@ics.uci.edu>
parents:
52401
diff
changeset
|
22 |
52401 | 23 /* arch-tag: 38fe75ea-6aef-42bd-8449-bc34d921a562 |
24 (do not change this comment) */ |