mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-16 00:20: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:
+13
-1
@@ -144,7 +144,19 @@ source_builtin (WORD_LIST *list)
|
||||
else if (absolute_pathname (list->word->word))
|
||||
filename = savestring (list->word->word);
|
||||
else if (source_uses_path)
|
||||
filename = find_path_file (list->word->word);
|
||||
{
|
||||
#if 0
|
||||
char *spath;
|
||||
#if defined (RESTRICTED_SHELL)
|
||||
if (restricted == 0 && posixly_correct == 0 && (spath = path_value ("BASH_SOURCE_PATH", 1)))
|
||||
#else
|
||||
if (posixly_correct == 0 && (spath = path_value ("BASH_SOURCE_PATH", 1)))
|
||||
#endif
|
||||
filename = find_in_path (list->word->word, spath, FS_READABLE);
|
||||
else
|
||||
#endif
|
||||
filename = find_path_file (list->word->word);
|
||||
}
|
||||
if (filename == 0)
|
||||
{
|
||||
if (source_searches_cwd == 0)
|
||||
|
||||
Reference in New Issue
Block a user