This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix for PR 10736


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]