Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-3] src/bin/sh
Module Name: src
Committed By: bouyer
Date: Sat Mar 31 14:04:58 UTC 2007
Modified Files:
src/bin/sh [netbsd-3]: histedit.c
Log Message:
Pull up following revision(s) (requested by mjf in ticket #1689):
bin/sh/histedit.c: revision 1.38
Make the -s flag of fc work correctly. Ensure that only one command
is specified and ensure that we break out of the loop after executing it.
With the previous code, because the re-executed command was added to the
history, it would think that it still had to execute it, leading to
an infinite loop.
To generate a diff of this commit:
cvs rdiff -r1.34 -r1.34.6.1 src/bin/sh/histedit.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