mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-12 06:30:50 +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:
+2
-2
@@ -700,7 +700,7 @@ printf_builtin (WORD_LIST *list)
|
||||
/* check for string length overflow when adjusting precision */
|
||||
if (ckd_add (&precision, slen, 0))
|
||||
{
|
||||
builtin_error (_("%%Q: string length: %s"), strerror (ERANGE));
|
||||
builtin_error ("%%Q: %s %s", _("string length"), strerror (ERANGE));
|
||||
precision = -1;
|
||||
}
|
||||
}
|
||||
@@ -825,7 +825,7 @@ printf_builtin (WORD_LIST *list)
|
||||
static inline void
|
||||
printf_erange (char *s)
|
||||
{
|
||||
builtin_error (_("%s: %s"), s, strerror(ERANGE));
|
||||
builtin_error ("%s: %s", s, strerror(ERANGE));
|
||||
conversion_error = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user