From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2870 invoked by alias); 5 Apr 2010 15:59:47 -0000 Received: (qmail 2860 invoked by uid 22791); 5 Apr 2010 15:59:46 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Apr 2010 15:59:40 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o35FxWOt008489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 5 Apr 2010 11:59:32 -0400 Received: from psique.localnet (vpn-236-61.phx2.redhat.com [10.3.236.61]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o35FxVY3022460; Mon, 5 Apr 2010 11:59:31 -0400 From: Sergio Durigan Junior To: Pedro Alves Subject: Re: Fix for PR 10736 Date: Mon, 05 Apr 2010 15:59:00 -0000 User-Agent: KMail/1.13.1 (Linux/2.6.32.9-70.fc12.x86_64; KDE/4.4.1; x86_64; ; ) Cc: gdb-patches@sourceware.org References: <201003292101.48377.sergiodj@redhat.com> <201003311814.43957.sergiodj@redhat.com> <201004010125.05707.pedro@codesourcery.com> In-Reply-To: <201004010125.05707.pedro@codesourcery.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004051259.29602.sergiodj@redhat.com> X-IsSubscribed: yes 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: 2010-04/txt/msg00076.txt.bz2 On Wednesday 31 March 2010 21:25:05, Pedro Alves wrote: > On Wednesday 31 March 2010 22:14:42, Sergio Durigan Junior wrote: > > Sorry, I don't know if I understood. If the datadir doesn't change, the > > call to xstrdup will only be made once (i.e., when > > `have_initialized_sysinfo' is zero). After that, it will never be > > called again unless datadir changes. > > Duh on me, sorry. Patch is okay as is then. Sorry for the delay. Commited now. Thanks, -- Sergio Durigan Junior Debugger Engineer Red Hat Inc.