/[emacs]/emacs/src/s/aix4-2.h
ViewVC logotype

Diff of /emacs/src/s/aix4-2.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by miles, Mon Sep 1 15:45:58 2003 UTC revision 1.5 by dann, Fri Sep 23 17:06:02 2005 UTC
# Line 2  Line 2 
2    
3  #undef ALIGN_DATA_RELOC  #undef ALIGN_DATA_RELOC
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  /* arch-tag: 38fe75ea-6aef-42bd-8449-bc34d921a562
24     (do not change this comment) */     (do not change this comment) */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26