fix crash with unset arrays in arithmetic constructs ; change to avoid printing foreground job statuses when we don't want to

This commit is contained in:
Chet Ramey
2022-10-04 11:58:54 -04:00
parent e6dc31ac13
commit 43e861c2cd
10 changed files with 76 additions and 12 deletions
+1 -1
View File
@@ -818,7 +818,7 @@ rl_getc (FILE *stream)
/* We know at this point that _rl_caught_signal == 0 */
#if defined (__MINGW32__)
if (isatty (fd)
if (isatty (fd))
return (_getch ()); /* "There is no error return." */
#endif
result = 0;