mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-01 21:51:35 +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 *
|
const char *
|
||||||
mc_tmpdir (void)
|
mc_tmpdir (void)
|
||||||
{
|
{
|
||||||
static char buffer[64];
|
static char buffer[PATH_MAX];
|
||||||
static const char *tmpdir = NULL;
|
static const char *tmpdir = NULL;
|
||||||
const char *sys_tmp;
|
const char *sys_tmp;
|
||||||
struct passwd *pwd;
|
struct passwd *pwd;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user