annotate src/s/aix4-2.h @ 71554:0b31608be4a1

(display_tool_bar_line): Skip glyphs which are too big to ever fit the tool-bar, (MAX_FRAME_TOOL_BAR_HEIGHT): New macro. (tool_bar_lines_needed): Use unused mode-line row as temp_row. (redisplay_tool_bar): Only clear desired matrix if we actually change the tool-bar window height. Only try to make the tool-bar window bigger if there is actually room for it.
author Kim F. Storm <storm@cua.dk>
date Sat, 01 Jul 2006 23:29:04 +0000
parents c6e45e9a83bf
children 43a8bd744de4 ee12d75eb214
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22824
a8482d4262a4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #include "aix4-1.h"
a8482d4262a4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
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
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 44601
diff changeset
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
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 44601
diff changeset
23 /* arch-tag: 38fe75ea-6aef-42bd-8449-bc34d921a562
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 44601
diff changeset
24 (do not change this comment) */