File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ _comp_make__truncate_non_unique_paths()
111111 for target in " ${COMPREPLY[@]} " ; do
112112 local path=${target%/ }
113113 while [[ ! ${paths[$path]+set} ]] &&
114- paths[$path ]=1 &&
114+ paths[$path ]=" set " &&
115115 [[ $path == " $prefix " * /* ]]; do
116116 path=${path%/* }
117117 nchild[$path ]=$(( ${nchild[$path]-0} + 1 ))
Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ _comp_cmd_mutt__get_conffiles()
6464# @var[ref] visited Dictionary of config files already visited
6565_comp_cmd_mutt__get_conffiles__visit ()
6666{
67- [[ -f $1 && ${visited[$1]-} != yes ]] || return 0
68- visited[$1 ]=yes
67+ [[ -f $1 && ${visited[$1]-} != set ]] || return 0
68+ visited[$1 ]=" set "
6969 conffiles+=(" $1 " )
7070
7171 local -a newconffiles=($( command sed -n ' s|^source[[:space:]]\{1,\}\([^[:space:]]\{1,\}\).*$|\1|p' " $1 " ) )
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ _strace()
4040 while read -r define syscall rest; do
4141 [[ $define == " #define" &&
4242 $syscall =~ ^__NR_(.+) ]] &&
43- syscalls[${BASH_REMATCH[1]} ]=1
43+ syscalls[${BASH_REMATCH[1]} ]=" set "
4444 done 2> /dev/null < /usr/include/asm/unistd.h
4545 if (( ${# syscalls[@]} == 0 )) ; then
4646 local unistd arch=$( command uname -m)
@@ -52,7 +52,7 @@ _strace()
5252 while read -r define syscall rest; do
5353 [[ $define == " #define" &&
5454 $syscall =~ ^__NR_(.+) ]] &&
55- syscalls[${BASH_REMATCH[1]} ]=1
55+ syscalls[${BASH_REMATCH[1]} ]=" set "
5656 done 2> /dev/null < $unistd
5757 fi
5858
You can’t perform that action at this time.
0 commit comments