size_t only SIGNED INT in SunOS.
- From: Mike Johnson <mjohnson patriot or credence com>
- To: "gtk-list redhat com" <gtk-list redhat com>
- Subject: size_t only SIGNED INT in SunOS.
- Date: Mon, 26 Apr 1999 13:43:27 -0700
The realloc problem in SunOS appears to be a bit more than orginally
anticipated. It is not only realloc that a core occurs with but also
malloc, calloc, and alloc. A bit of search found that in string test,
we check for the ability to allocate more than 16K in blocks, which the
OS interprets as a request for negative amount of memory and cores. A
quick glance at sys/stdtypes.h quickly shows that size_t is defined as a
signed int.
Does anyone have a suggestion on how I can modify gmem.c to be able to
handle requests for more than 16K in a block size????
Mike
--
============================================================================
The views expressed in this email are strictly mine and do not represent
any official or unofficial policy of any other legal entity.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]