mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-13 15:10:49 +02:00
fix recogniation of IN token in for command nested within case command
This commit is contained in:
@@ -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