mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-01 13:45:29 +03:00
Merge branch '3736_mc_tmpdir'
* 3736_mc_tmpdir: Ticker #3736: mc_tmpdir() use a buffer of only 64 characters.
This commit is contained in:
commit
87cc7baead
@ -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…
x
Reference in New Issue
Block a user