Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Chet Ramey <chet@nike.ins.cwru.edu>
To: kettenis@chello.nl
Cc: gdb-patches@sources.redhat.com, ezannoni@redhat.com, chet@cwru.edu
Subject: Re: Fix readline for platforms without <wchar.h>
Date: Tue, 27 May 2003 14:22:00 -0000	[thread overview]
Message-ID: <030527141412.AA74998.SM@nike.ins.cwru.edu> (raw)
In-Reply-To: <"Message from kettenis"@chello.nl>

> [ 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. 

That said, your fix was better than changing the source, since I don't
see how wcwidth is going to work without wchar.h anyway. 

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )

Chet Ramey, ITS, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/


  parent reply	other threads:[~2003-05-27 14:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-25 11:29 Mark Kettenis
2003-05-26 15:33 ` Elena Zannoni
2003-05-27 23:30   ` Mark Kettenis
     [not found] ` <"Message from kettenis"@chello.nl>
2003-05-27 14:22   ` Chet Ramey [this message]
2003-05-27 23:46     ` Mark Kettenis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=030527141412.AA74998.SM@nike.ins.cwru.edu \
    --to=chet@nike.ins.cwru.edu \
    --cc=chet@cwru.edu \
    --cc=ezannoni@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kettenis@chello.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox