From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27818 invoked by alias); 16 Mar 2006 14:49:57 -0000 Received: (qmail 27785 invoked by uid 22791); 16 Mar 2006 14:49:55 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 16 Mar 2006 14:49:08 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FJtmk-000391-0c; Thu, 16 Mar 2006 09:49:06 -0500 Date: Fri, 17 Mar 2006 00:26:00 -0000 From: Daniel Jacobowitz To: Denis PILAT Cc: gdb-patches@sources.redhat.com Subject: Re: [patch-readline] history file generation on minGW host Message-ID: <20060316144905.GA12063@nevyn.them.org> Mail-Followup-To: Denis PILAT , gdb-patches@sources.redhat.com References: <44196BC6.4050503@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44196BC6.4050503@st.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00215.txt.bz2 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