George Greer wrote:
I put this patch in and had done a pwipe, had just one player created,
and it crashed in file_to_string_alloc in db.c I think it relates to
this:
> * Don't allow 'reload' if someone is paging text internally. Return code
> isn't checked by higher level code though, pity.
The fix I used is below, however it's possible that I'm not allocating
showstr_vector somewhere where I should be.
@@ -3707,7 +3617,7 @@ file_to_string_alloc(const char *name, c
* is to the string we're interested in and not a copy.
*/
for (using = descriptor_list; using; using = using->next)
- if (*using->showstr_vector == *buf)
+ if ((using->showstr_vector) && *using->showstr_vector ==
*buf)
return (-1);
/*
Cheers,
Chris
+------------------------------------------------------------+
| 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