[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
etags segfault
From: |
Kenichi Handa |
Subject: |
etags segfault |
Date: |
Fri, 22 Aug 2008 10:30:49 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Latest CVS Emacs has a bug in lib-src/etags.
% cd emacs/src
% make tags
../lib-src/etags --include=TAGS-LISP --include=../lwlib//TAGS --regex='/[
]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' /usr/local/work/emacs/src/[xyzXYZ]*.[hc]
/usr/local/work/emacs/src/[a-wA-W]*.[hc]
make: *** [TAGS] Segmentation fault
The seqfault occurs on GNU/Linux at this line (the last line
of the function incanonicalize_filename):
*fn = '\0';
I suspect this change introduced this bug.
2008-08-17 Francesco Potort$(address@hidden(B <address@hidden>
* etags.c (main): Use canonicalize_filename on tags file name.
(relative_filename): Revert 3.85: do not collapse slashes here.
(absolute_dirname): Remove useless call to canonicalize_filename.
(canonicalize_filename): Collapse multiple slashes here.
---
Kenichi Handa
address@hidden
- etags segfault,
Kenichi Handa <=