Blob Blame History Raw
diff -up bash-4.0/bashline.c.backport bash-4.0/bashline.c
--- bash-4.0/bashline.c.backport	2010-05-21 18:40:36.000000000 +0200
+++ bash-4.0/bashline.c	2010-05-21 18:40:49.000000000 +0200
@@ -1669,7 +1669,7 @@ globword:
      a single match (multiple matches that end up reducing the number of
      characters in the common prefix are bad) will ever be returned on
      regular completion. */
-  if (glob_pattern_p (hint))
+  if (globpat)
     {
       if (state == 0)
 	{