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: [patch-readline] history file generation on minGW host


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


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