forked from enlightenment/efl
parent
35a45eb062
commit
e011d5e67c
|
@ -103,6 +103,7 @@ efreet_trash_dir_get(const char *file)
|
||||||
while (strlen(buf) > 1)
|
while (strlen(buf) > 1)
|
||||||
{
|
{
|
||||||
strncpy(path, buf, PATH_MAX);
|
strncpy(path, buf, PATH_MAX);
|
||||||
|
path[PATH_MAX - 1] = 0;
|
||||||
dir = dirname(buf);
|
dir = dirname(buf);
|
||||||
|
|
||||||
if (stat(dir, &s_dest) == 0)
|
if (stat(dir, &s_dest) == 0)
|
||||||
|
|
Loading…
Reference in New Issue