mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-16 20:20:02 +01:00
fix recogniation of IN token in for command nested within case command
This commit is contained in:
1 parent
136cdf8108
commit
a06616a689
7 files changed
+88
-12
No files matched your search
@@ -1042,12 +1042,12 @@ getconf_all (WORD_LIST *list)
|
||||
int r;
|
||||
|
||||
r = EXECUTION_SUCCESS;
|
||||
path = list ? list->word->word : 0;
|
||||
path = list ? list->word->word : "/";
|
||||
for (c = vars; c->name != NULL; ++c)
|
||||
{
|
||||
#if 0
|
||||
if (c->call == PATHCONF && path == 0)
|
||||
continue; /* Don't print pathconf vars if no path supplied */
|
||||
#if 0
|
||||
if (c->call != PATHCONF && path)
|
||||
continue; /* Only print pathconf vars if path supplied */
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user