• fix bug spotted by geirha: typeset args are glob-prone

• ormaaj suggested adding gsf’s homepage (still no new ast-ksh)
This commit is contained in:
tg 2015-01-11 00:23:06 +00:00
parent d048818dfa
commit 59fcff27ae
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# $Id$
# $MirOS: src/bin/mksh/dot.mkshrc,v 1.90 2015/01/06 20:54:53 tg Exp $
# $MirOS: src/bin/mksh/dot.mkshrc,v 1.91 2015/01/11 00:23:06 tg Exp $
#-
# Copyright (c) 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012, 2013, 2014, 2015
@ -67,7 +67,7 @@ else
local dasc line i
cat "$@" | { set +U; if read -arN -1 line; then
typeset -i1 line[*]
typeset -i1 'line[*]'
i=0
while (( i < ${#line[*]} )); do
hv=${line[i++]}