From 05bd5e92fd8cb8af4e628fb7e1bab262b49399d0 Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Thu, 2 Jan 1997 17:37:28 +0000 Subject: After discussing $_ with the maintainer, revert ksh behaviour and completely eliminate it from sh. --- bin/pdksh/history.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/pdksh/history.c') diff --git a/bin/pdksh/history.c b/bin/pdksh/history.c index f29e7e7d281..295f108f130 100644 --- a/bin/pdksh/history.c +++ b/bin/pdksh/history.c @@ -1,4 +1,4 @@ -/* $OpenBSD: history.c,v 1.3 1997/01/02 09:34:00 downsj Exp $ */ +/* $OpenBSD: history.c,v 1.4 1997/01/02 17:37:26 downsj Exp $ */ /* * command history @@ -242,7 +242,7 @@ c_fc(wp) return 1; } - if (!Flag(FSH) || Flag(FTALKING)) + if (!Flag(FSH)) setstr(local("_", FALSE), tf->name); /* XXX: source should not get trashed by this.. */ -- cgit v1.2.3