init.sh: don't let an ephemeral "*.exe" make us skip all dir entries
authorJim Meyering <meyering@redhat.com>
Sat, 18 Sep 2010 06:33:23 +0000 (08:33 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 18 Sep 2010 06:48:01 +0000 (08:48 +0200)
commitded759c27923c3173ca8dc8c5390f7246a2cc8ba
tree8df74908f1dd3ebf8dc95adc68dd164c8af738bf
parent6c2dd0147534160fc254ebefd5ab9feeeb95281b
init.sh: don't let an ephemeral "*.exe" make us skip all dir entries

Not that it's likely to happen, but if I were to remove from a PATH
directory a file named "*.exe" (yes, starting with an asterisk),
at just the right moment, it would have made init.sh ignore all
remaining .exe-suffixed names in that directory.

* tests/init.sh (find_exe_basenames_): Don't give up on a directory if
a file named "*.exe" is removed between the glob expansion and the
processing of that oddly named file.
ChangeLog
tests/init.sh