mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-02 01:40:49 +02:00
change some error messages so the format string isn't the return value from gettext(); work around macos problem with gettext() in child processes; don't try to set tty state while running a trap; don't default to trying enable -f file if the shell is restricted; note that configure now supports --enable-year2038
This commit is contained in:
@@ -2807,7 +2807,7 @@ pop_alias:
|
||||
else if (uc == 0 && shell_input_line_terminator == READERR)
|
||||
{
|
||||
#if defined (FATAL_READERROR)
|
||||
report_error (_("script file read error: %s"), strerror (errno));
|
||||
report_error ("%s: %s", _("script file read error"), strerror (errno));
|
||||
exit_shell (128); /* POSIX mandated error status */
|
||||
#else
|
||||
/* Treat read errors like EOF here. */
|
||||
|
||||
Reference in New Issue
Block a user