From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7899 invoked by alias); 27 Jun 2011 16:03:33 -0000 Received: (qmail 7891 invoked by uid 22791); 27 Jun 2011 16:03:32 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 27 Jun 2011 16:03:12 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id AB9862BAF49; Mon, 27 Jun 2011 12:03:11 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id K3YfD-dAYVvK; Mon, 27 Jun 2011 12:03:11 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 74A812BAF07; Mon, 27 Jun 2011 12:03:11 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 786FC145615; Mon, 27 Jun 2011 09:03:07 -0700 (PDT) Date: Mon, 27 Jun 2011 16:03:00 -0000 From: Joel Brobecker To: Jan Kratochvil Cc: bug-readline@gnu.org, Sterling Augustine , gdb-patches@sourceware.org Subject: Re: [readline patch, gdb-7.3?] Avoid free from a signal handler [Re: [PATCH] Make interrupting tab-completion safe.] Message-ID: <20110627160307.GG20676@adacore.com> References: <20110612121158.GA10611@host1.jankratochvil.net> <20110626222146.GA4410@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110626222146.GA4410@host1.jankratochvil.net> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00398.txt.bz2 > readline/ > 2011-06-27 Jan Kratochvil > > Avoid free from a signal handler. > * Makefile.in (xfree.o): Add readline.h. > * xfree.c: Include stdio.h and readline.h. > (xfree): Return on RL_STATE_SIGHANDLER. > * xmalloc.h (xfree): New definition. Interesting. OK for gdb-7.3 if OK for readline... -- Joel