fix for exit builtin when ignoreeof set; better resource deallocation when completion is interrupted; fix small memleak in globbing; compile out obsolete readline typedefs by default; readline callback mode doesn't print signal chars by default; xtrace mode prefers to use $'...' quoting if required

This commit is contained in:
Chet Ramey
2023-06-26 17:09:08 -04:00
parent 81f7b44564
commit 829aad36db
8 changed files with 133 additions and 41 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ reader_loop (void)
current_command = (COMMAND *)NULL;
}
}
if (EOF_Reached && interactive && ignoreeof && parse_and_execute_level == 0)
if (EOF_Reached && interactive && ignoreeof && parse_and_execute_level == 0 && code != EXITBLTIN)
{
if (handle_ignoreeof (1))
EOF_Reached = 0;