At 05:23 AM 2/22/99 +0100, you wrote: >At 07:57 PM 2/21/99 -0800, you wrote: >>>#0 0x80889d4 in str_dup (source=0x0) at utils.c:84 >>>84 CREATE(new_z, char, strlen(source) + 1); >>>(gdb) >> >>... >> >>bt, list, info locals, etc. Find the function that's calling str_dup with a >>null string (source=0x0) and make it not. >> >>-B. > >of coz you can also make a check in str_dup >if (!source || !*source) > return; Ehh sorry forgot!! i would like to point out that i don't recommend this but it would keep it from crashing at least :) but the best way is of cause to trace back why source is NULL. +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST