forked from enlightenment/efl
use PATH_MAX to define buffer size
in snprintf on the buffer PATH_MAX is used, so also use it to define buffer size SVN revision: 46729
This commit is contained in:
parent
b88fa404ad
commit
f2273a3f51
|
@ -858,8 +858,8 @@ data_write_scripts(Eet_File *ef)
|
|||
|
||||
for (i = 0, l = codes; l; l = eina_list_next(l), i++)
|
||||
{
|
||||
char tmpn[4096];
|
||||
char tmpo[4096];
|
||||
char tmpn[PATH_MAX];
|
||||
char tmpo[PATH_MAX];
|
||||
int fd;
|
||||
Code *cd = eina_list_data_get(l);
|
||||
|
||||
|
|
Loading…
Reference in New Issue