[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] bash_source_fullpath: add to reset_shopt_options
From: |
Grisha Levit |
Subject: |
[PATCH] bash_source_fullpath: add to reset_shopt_options |
Date: |
Mon, 19 Aug 2024 13:39:40 -0400 |
This was actually caught by the test suite
---
builtins/shopt.def | 1 +
tests/shopt.right | 4 ----
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/builtins/shopt.def b/builtins/shopt.def
index 67bc0c22..37fda11e 100644
--- a/builtins/shopt.def
+++ b/builtins/shopt.def
@@ -357,6 +357,7 @@ void
reset_shopt_options (void)
{
autocd = cdable_vars = cdspelling = 0;
+ bash_source_fullpath = 0;
check_hashed_filenames = CHECKHASH_DEFAULT;
check_window_size = CHECKWINSIZE_DEFAULT;
allow_null_glob_expansion = glob_dot_filenames = 0;
diff --git a/tests/shopt.right b/tests/shopt.right
index e4ab12c0..80a42814 100644
--- a/tests/shopt.right
+++ b/tests/shopt.right
@@ -310,9 +310,5 @@ xtrace off
--
./shopt.tests: line 106: shopt: xyz1: invalid shell option name
./shopt.tests: line 107: shopt: xyz1: invalid option name
-4c4
-< bash_source_fullpath on
----
-> bash_source_fullpath off
expand_aliases on
expand_aliases on
--
2.46.0
- [PATCH] bash_source_fullpath: add to reset_shopt_options,
Grisha Levit <=