NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/52458 CVS commit: src/bin/sh



The following reply was made to PR bin/52458; it has been noted by GNATS.

From: "Robert Elz" <kre%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/52458 CVS commit: src/bin/sh
Date: Sat, 5 Aug 2017 11:33:05 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Sat Aug  5 11:33:05 UTC 2017
 
 Modified Files:
 	src/bin/sh: input.c parser.c
 
 Log Message:
 PR bin/52458
 
 Avoid mangling history when editing is enabled, and the prompt contains a \n
 
 Also, allow empty input lines into history when they are being appended to
 a previous (partial) command (but not when they would just make an empty entry).
 
 For all the gory details, see the PR.
 
 Note nothing here actually makes prompts containing \n work correctly
 when editing is enabled, that's a libedit issue, which will be addressed
 some other time.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.60 -r1.61 src/bin/sh/input.c
 cvs rdiff -u -r1.142 -r1.143 src/bin/sh/parser.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index