From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: etags segfault Date: Mon, 25 Aug 2008 20:49:37 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1219665030 8776 80.91.229.12 (25 Aug 2008 11:50:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2008 11:50:30 +0000 (UTC) Cc: rogers-emacs@rgrjr.dyndns.org, emacs-devel@gnu.org To: Francesco Potorti` Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 25 13:51:23 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KXabR-00044H-6C for ged-emacs-devel@m.gmane.org; Mon, 25 Aug 2008 13:51:21 +0200 Original-Received: from localhost ([127.0.0.1]:60312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXaaT-0007fY-6P for ged-emacs-devel@m.gmane.org; Mon, 25 Aug 2008 07:50:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXaa1-0007UY-6Q for emacs-devel@gnu.org; Mon, 25 Aug 2008 07:49:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXaZy-0007U7-Be for emacs-devel@gnu.org; Mon, 25 Aug 2008 07:49:51 -0400 Original-Received: from [199.232.76.173] (port=51380 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXaZy-0007U2-5j for emacs-devel@gnu.org; Mon, 25 Aug 2008 07:49:50 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:38338) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXaZr-0005sA-PR; Mon, 25 Aug 2008 07:49:44 -0400 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id m7PBnblr004834; Mon, 25 Aug 2008 20:49:37 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id m7PBnbfq006318; Mon, 25 Aug 2008 20:49:37 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id m7PBnbPY004063; Mon, 25 Aug 2008 20:49:37 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1KXaZl-0000Bt-0Y; Mon, 25 Aug 2008 20:49:37 +0900 In-reply-to: (message from Francesco Potorti` on Mon, 25 Aug 2008 09:56:40 +0200) 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) X-detected-kernel: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102929 Archived-At: In article , Francesco Potorti` writes: > I fixed etags' segfault on the trunk. Sorry, my regression tests did > not cover this case. The cure is simply to allocate space in memory > rather than using static strings. I did not use the patch below, > because if leaves tagfiledir uninitialised in the first case. Thank you. I confirmed the fix. --- Kenichi Handa handa@ni.aist.go.jp