emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix infinite loop in tex file handling in etags


From: Jan D.
Subject: Re: Fix infinite loop in tex file handling in etags
Date: Sat, 12 Aug 2006 16:24:09 +0200
User-agent: Thunderbird 1.5.0.5 (X11/20060719)

Francesco Potorti wrote:
Could someone install this patch, too?
Done.

Please, do not install changes in etags.c, unless it is urgent and the
reasons for the changes are clearly understood.  Generally speaking, it
is better asking me first, as I have a regression test suite that I run
before committing any changes.

Ok.

I am going to examine the changes you made.  In the meantime, would you
please send me a test case showing that etags fails for each of your
changes?

The first change (important that the file x.tex does not end in a newline):
% echo -n "%" > x.tex
% etags x.tex

etags hangs in an infinite loop.

The second change:
% echo '#line 123 L"x.c"' > x.c
% etags x.c

etags gets a segmentation violation.

   Jan D.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]