annotate src/s/sunos413.h @ 31897:a292cc13911a

(GC_CHECK_STRING_BYTES): Temporarily define, for bug hunting. (struct sdata) [GC_CHECK_STRING_BYTES]: Always record the string's size in the sdata structure. (SDATA_NBYTES, SDATA_DATA): New macros. (SDATA_OF_STRING, SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Define differently for the different layout of the sdata structure. (allocate_string_data) [GC_CHECK_STRING_BYTES]: Record string size in sdata. (sweep_strings, compact_small_strings) [GC_CHECK_STRING_BYTES]: Check that size recorded in the string size and size recorded in the sdata structure agree.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 26 Sep 2000 11:11:51 +0000
parents b2e67adcc76e
children 7f83baedcc7b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3114
630eb7c9ea64 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #include "sunos4-1.h"
630eb7c9ea64 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
5638
866c3e94b8a4 Add #undef SYSTEM_MALLOC.
Richard M. Stallman <rms@gnu.org>
parents: 5204
diff changeset
3 /* jik@gza.com says this works now. */
3114
630eb7c9ea64 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 /* The bug that corrupts GNU malloc's memory pool is fixed in SunOS 4.1.3. */
630eb7c9ea64 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5
630eb7c9ea64 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 #undef SYSTEM_MALLOC
4903
72f692faeb8c *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents: 3308
diff changeset
7
5204
74fd637f952c [!SYSTEM_MALLOC] (MEMMOVE_MISSING): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 5090
diff changeset
8 /* barrie@calvin.demon.co.uk says memmove is missing. */
74fd637f952c [!SYSTEM_MALLOC] (MEMMOVE_MISSING): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 5090
diff changeset
9 #ifndef SYSTEM_MALLOC
74fd637f952c [!SYSTEM_MALLOC] (MEMMOVE_MISSING): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 5090
diff changeset
10 #define MEMMOVE_MISSING
74fd637f952c [!SYSTEM_MALLOC] (MEMMOVE_MISSING): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 5090
diff changeset
11 #endif