mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-29 19:28:55 +01:00
commit bash-20061214 snapshot
This commit is contained in:
1 parent
10a5f6b4cc
commit
258e3d4698
109 files changed
+19368
-4220
No files matched your search
@@ -91,6 +91,9 @@ get_tmpdir (flags)
|
||||
char *tdir;
|
||||
|
||||
tdir = (flags & MT_USETMPDIR) ? get_string_value ("TMPDIR") : (char *)NULL;
|
||||
if (tdir && (file_iswdir (tdir) == 0 || strlen (tdir) > PATH_MAX))
|
||||
tdir = 0;
|
||||
|
||||
if (tdir == 0)
|
||||
tdir = get_sys_tmpdir ();
|
||||
|
||||
|
||||
Reference in new issue
Block a user