I wrote:
Yes, that fixed it! Thanks a lot.
Unfortunately, looks like it did not after all... I applied the patch
and ran make - which gave me an executable which did not crash when
run with --vanilla. That's when I replied to your message that it
fixed things. But w/out --vanilla, the new executable did not run very
well - it produced some weird messages when trying to load my init.el
- something to do with font-lock. So I rebuilt xemacs in a fresh build
directory (but still with the syntax.c patch applied of course) - and
it now loads my init.el file w/out problems, but again crashes exactly
as I described earlier - including when run --vanilla... :(
"Stephen J. Turnbull" <turnbull(a)sk.tsukuba.ac.jp>
wrote:
> >>>>> "Dmitry" == Dmitry Yaitskov <dimas(a)home.com>
writes:
>
> Dmitry> The culprit seems to be the comment and the fact that it
> Dmitry> starts from the very beginning of the file. Inserting a
> Dmitry> blank like above the 1st line removes the crash. I hope
> Dmitry> somebody who knows the C code involved can look at it. I
> Dmitry> can provide further details if needed. Thanks.
>
> There seems to be a fencepost error in syntax.c. You could try
> Vladimir Vukicevic's patch. This is (hopefully) being reviewed by
> Matt Tucker now, and may not go in in its current form, but it might
> help you get some work done.
>
>
> Index: syntax.c
> ===================================================================
> RCS file: /usr/CVSroot/XEmacs/xemacs/src/syntax.c,v
> retrieving revision 1.7.2.18
> diff -u -r1.7.2.18 syntax.c
> --- syntax.c 2001/02/09 16:00:37 1.7.2.18
> +++ syntax.c 2001/02/15 22:12:18
> @@ -830,8 +830,6 @@
> as the comment sequence which began this comment
> section */
> {
> - from++;
> - UPDATE_SYNTAX_CACHE_FORWARD (from);
> break;
> }
> }
--
Cheers,
-Dima.