mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticker #3736: mc_tmpdir() use a buffer of only 64 characters.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
54a0ccecaa
commit
0cf8e8f6e0
@ -832,7 +832,7 @@ mc_mkstemps (vfs_path_t ** pname_vpath, const char *prefix, const char *suffix)
|
||||
const char *
|
||||
mc_tmpdir (void)
|
||||
{
|
||||
static char buffer[64];
|
||||
static char buffer[PATH_MAX];
|
||||
static const char *tmpdir = NULL;
|
||||
const char *sys_tmp;
|
||||
struct passwd *pwd;
|
||||
|
Loading…
Reference in New Issue
Block a user