[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/52458 CVS commit: [netbsd-8] src/bin/sh
The following reply was made to PR bin/52458; it has been noted by GNATS.
From: "Soren Jacobsen" <snj%netbsd.org@localhost>
Subject: PR/52458 CVS commit: [netbsd-8] src/bin/sh
Date: Wed, 9 Aug 2017 05:35:19 +0000
Module Name: src
Committed By: snj
Date: Wed Aug 9 05:35:19 UTC 2017
src/bin/sh [netbsd-8]: input.c parser.c
Pull up following revision(s) (requested by kre in ticket #199):
bin/sh/input.c: revision 1.61
bin/sh/parser.c: revision 1.143
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 -r188.8.131.52 -r184.108.40.206 src/bin/sh/input.c
cvs rdiff -u -r220.127.116.11 -r18.104.22.168 src/bin/sh/parser.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |