This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch-readline] history file generation on minGW host
- From: Daniel Jacobowitz <drow at false dot org>
- To: Denis PILAT <denis dot pilat at st dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 16 Mar 2006 09:49:05 -0500
- Subject: Re: [patch-readline] history file generation on minGW host
- References: <44196BC6.4050503@st.com>
On Thu, Mar 16, 2006 at 02:44:38PM +0100, Denis PILAT wrote:
> On minGW host, history file are open in text mode, that's imply windows
> specific
> carriage return to be inserted ( \n -> \r\n conversion performed) and
> prevents windows history file to be compliant with linux one's.
> When using current history file for windows, "^M" appears at each end of
> line.
>
> This patch fixes this problem.
You should probably send this patch to the readline maintainers
instead? It looks reasonable.
--
Daniel Jacobowitz
CodeSourcery