This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Fix readline for platforms without <wchar.h>
Date: Tue, 27 May 2003 10:14:12 -0400
From: Chet Ramey <chet@nike.ins.cwru.edu>
> [ Chet, I don't now if you ever received the change that was
> origionally made to the copy of readline in the GDB tree. Just in
> case you intend to incorporate such a change in the next release of
> readline, this patch solves a problem with it. ]
>
> There is a problem with one of our local GDB fixes for readline:
I'm not going to include wcwidth in libreadline. It's not appropriate
for libraries to be conditionally including C library functions -- it
just causes problems down the line. That's what the calling
application should be doing.
Thanks! Yes, that makes sense. I'll see if I can get rid of this
local fix in the GDB repository by adding some hackery to the GDB
configure script instead.
Mark