Re: Memoriesssssssss (ok, just Memory)

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 05/05/98

On Tue, 5 May 1998, blah wrote:

->#define CREATE(result, type, number)  do {\
->        if (!((result) = (type *) calloc ((number), sizeof(type))))\
->                { perror("malloc failure"); abort(); } } while(0)
->So if I'm understanding correctly, it tried to allocate some memory,
->couldn't, and crashed (first, is this assumption correct???).

If it's crashing in CREATE, then when it crashes it should send out a
line, "malloc failure:" followed by a brief description of what went
wrong.  That line should help you.


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST