From b05c93bbae00f8443fdf4a16584c6023bb0818154cca5b0ee116ff05e872f893 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Tue, 9 Mar 2010 16:24:21 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/bash?expand=0&rev=31 --- bash-4.1-completion.dif | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 bash-4.1-completion.dif diff --git a/bash-4.1-completion.dif b/bash-4.1-completion.dif new file mode 100644 index 0000000..9db445f --- /dev/null +++ b/bash-4.1-completion.dif @@ -0,0 +1,16 @@ +--- bashline.c ++++ bashline.c 2010-03-09 14:11:27.612626475 +0000 +@@ -1700,6 +1700,13 @@ globword: + return ((char *)NULL); + } + ++ if (GLOB_FAILED (glob_matches) || glob_matches == 0) ++ { ++ glob_ignore_case = old_glob_ignore_case; ++ glob_matches = (char **)NULL; ++ return ((char *)NULL); ++ } ++ + while (val = glob_matches[local_index++]) + { + if (executable_or_directory (val))