mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-11 06:00: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:
@@ -233,7 +233,11 @@ enable_builtin (WORD_LIST *list)
|
||||
#if defined (HAVE_DLOPEN) && defined (HAVE_DLSYM)
|
||||
/* If we try to enable a non-existent builtin, and we have dynamic
|
||||
loading, try the equivalent of `enable -f name name'. */
|
||||
#if defined (RESTRICTED_SHELL)
|
||||
if (*command && (flags & NFLAG) == 0 && opt == EX_NOTFOUND && restricted == 0)
|
||||
#else
|
||||
if (*command && (flags & NFLAG) == 0 && opt == EX_NOTFOUND)
|
||||
#endif
|
||||
{
|
||||
int dflags, r;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user