Mercurial > emacs
annotate src/s/sunos413.h @ 28747:6f90293e6ccb
(slurp_file): New function.
(xbm_image_p): Handle case of in-memory XBM files.
(xbm_scan): Rewritten to work on memory buffers instead of files.
(xbm_read_bitmap_data): Renamed from xbm_read_bitmap_file_data.
Work on memory buffers instead of files. If DATA is null test
if buffer looks like an in-memory XBM file.
(xbm_load_image): Renamed from xbm_load_image_file. Work on
memory buffers instead of files.
(xbm_file_p): New function.
(xbm_load): Accept :data DATA where DATA is an in-memory XBM file.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 27 Apr 2000 19:11:04 +0000 |
parents | b2e67adcc76e |
children | 7f83baedcc7b |
rev | line source |
---|---|
3114 | 1 #include "sunos4-1.h" |
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 | 4 /* The bug that corrupts GNU malloc's memory pool is fixed in SunOS 4.1.3. */ |
5 | |
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 |