Ok, I put in the oasis 1.5 for bpl11 modify.c, and took out instances
of oasis, by adding #ifdef OASIS_OLC, my problem is now, when you
are in the editor, you are kicked out of the editor sparatically, one
line that I did comment out that I think is of importance is this,
which is in modify.c, in string_add at the very end.
if (d->character && !IS_NPC(d->character))
REMOVE_BIT(PLR_FLAGS(d->character), PLR_WRITING | PLR_MAILING);
if (d->backstr)
free(d->backstr);
d->backstr = NULL;
d->str = NULL;
}
/*else
if (!action)
strcat(*d->str, "\r\n");*/
}
I don't know the importance of this, but it seems to be causing
problems, I could have also, mistyped things from the patch, wherein
I added modify.c by hand. So, could someone help me figure what the
purpose of the appending a carriage return and line feed to str.
Also a excellent thing would be for someone to send me a modify.c
for the improved editor for bpl11, the oasis 1.5 version, I think
thats the last version for bpl11.
George wrote:
>
> On Wed, 17 Dec 1997, Chris wrote:
>
> >631 if ((!d->str) || (!*d->str)) {
> >632 SEND_TO_Q("Saving empty buffer.\r\n", d);
> >633 } else {
> >634 if (*d->str)
> >635 if (strlen(*d->str) == 0) { <=- this is line 635
> >636 if(*d->str)
> >637 free(*d->str);
> >638 *d->str = NULL;
> >639 }
>
> Odd, it looks like you crashed in the strlen() call. That should be
> impossible because of the *d->str check above.
>
> That code doesn't show up anywhere in the OasisOLC version of improved
> edit that I can tell, at least not how you have it written.
>
> --
> George Greer - Me@Null.net | Genius may have its limitations, but stupidity
> http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard
>
> +------------------------------------------------------------+
> | Ensure that you have read the CircleMUD Mailing List FAQ: |
> | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
> +------------------------------------------------------------+
--
If you want to email me, REMOVE the Z in front of my email address.
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST