Fixed a bug in gmx_wcmatch().
commit32b8b7f72b03029affb4fdd7eb53e8f7dc47b288
authorTeemu Murtola <teemu.murtola@cbr.su.se>
Wed, 5 May 2010 14:57:44 +0000 (5 16:57 +0200)
committerTeemu Murtola <teemu.murtola@cbr.su.se>
Wed, 5 May 2010 14:57:44 +0000 (5 16:57 +0200)
treec3aac8fcd3977b47b015b3f5c8151eca3647284f
parentbb5ab1221dbdf240cd425c43dfede14632a13161
Fixed a bug in gmx_wcmatch().

The function incorrectly reported a match if the pattern was a prefix of
the given string, even if it did not end in a wildcard.
src/gmxlib/string2.c