From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22238 invoked by alias); 1 Apr 2010 00:25:14 -0000 Received: (qmail 22218 invoked by uid 22791); 1 Apr 2010 00:25:13 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 01 Apr 2010 00:25:09 +0000 Received: (qmail 7155 invoked from network); 1 Apr 2010 00:25:07 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Apr 2010 00:25:07 -0000 From: Pedro Alves To: Sergio Durigan Junior Subject: Re: Fix for PR 10736 Date: Thu, 01 Apr 2010 00:25:00 -0000 User-Agent: KMail/1.12.2 (Linux/2.6.31-20-generic; KDE/4.3.2; x86_64; ; ) Cc: gdb-patches@sourceware.org References: <201003292101.48377.sergiodj@redhat.com> <201003301144.25720.pedro@codesourcery.com> <201003311814.43957.sergiodj@redhat.com> In-Reply-To: <201003311814.43957.sergiodj@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004010125.05707.pedro@codesourcery.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/msg00000.txt.bz2 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. -- Pedro Alves