aboutsummaryrefslogtreecommitdiff
path: root/shells/bash3/files/patch-subst.c
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-07-30 22:01:13 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-07-30 22:01:13 +0000
commitf55e7a8694086a36d186a34e07499a12c977bfd7 (patch)
treee69f5f716d2cb0fdac9cdb113b951cda4a4233f1 /shells/bash3/files/patch-subst.c
parentaf7ed27f2b3439535bc63009b9f4e9a9f2d9ec4a (diff)
Notes
Diffstat (limited to 'shells/bash3/files/patch-subst.c')
-rw-r--r--shells/bash3/files/patch-subst.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/shells/bash3/files/patch-subst.c b/shells/bash3/files/patch-subst.c
deleted file mode 100644
index 8ef29a8b5774..000000000000
--- a/shells/bash3/files/patch-subst.c
+++ /dev/null
@@ -1,27 +0,0 @@
-
-$FreeBSD$
-
---- subst.c.orig Mon Nov 5 20:19:49 2001
-+++ subst.c Tue Nov 20 23:52:45 2001
-@@ -121,6 +121,9 @@
- a null file. */
- int allow_null_glob_expansion;
-
-+/* Non-zero means to signal an error when globbing fails to match. */
-+int fail_glob_expansion;
-+
- #if 0
- /* Variables to keep track of which words in an expanded word list (the
- output of expand_word_list_internal) are the result of globbing
-@@ -6132,6 +6135,11 @@
- {
- output_list = (WORD_LIST *)list_append (glob_list, output_list);
- PREPEND_LIST (tlist, disposables);
-+ }
-+ else if (fail_glob_expansion != 0)
-+ {
-+ report_error ("no match: %s", tlist->word->word);
-+ jump_to_top_level (DISCARD);
- }
- else if (allow_null_glob_expansion == 0)
- {