size_t only SIGNED INT in SunOS.



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]