diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-02-19 01:25:23 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-02-19 01:25:23 +0000 |
commit | 533b4185b646188efb76c910f33ff7778e89ae23 (patch) | |
tree | 29d27973a3d4df756185b0cc397bb030a282e2cd | |
parent | 84c75e0a7ccb55b977b1f492d4d765b134f8b161 (diff) |
No need for caveat about ignoring "\" when reading passwords, \r\n get
passed through just fine. Also add comment to note that leading and
trailing space will be trimmed.
Pointed out by 'x' on bugs@.
-rw-r--r-- | distrib/miniroot/install.sub | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 28a795506ad..6c94764c829 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.445 2009/02/18 00:03:06 krw Exp $ +# $OpenBSD: install.sub,v 1.446 2009/02/19 01:25:22 krw Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2007 Todd Miller, Theo de Raadt, Ken Westerback @@ -247,9 +247,8 @@ stdsize () { # Display $1 as the prompt. # *Don't* allow the '!' options that ask does. # *Don't* echo input. -# *Don't* interpret "\" as escape character if not at start of escape -# sequence. e.g. "\s" will be left alone and "\<newline>" will -# not cause line continuation. "\r", etc. still get interpreted. +# *Don't* interpret "\" as escape character. +# NOTE: leading and trailing space will be trimmed from password. askpass() { set -o noglob stty -echo |