forked from enlightenment/enlightenment
we're being blatant about path size.. 4096 should be enough... :)
SVN revision: 23808
This commit is contained in:
parent
f785b8f7cf
commit
3f02b70103
|
@ -418,11 +418,7 @@ _e_prefix_try_argv(char *argv0)
|
||||||
{
|
{
|
||||||
char *path, *p, *cp, *s;
|
char *path, *p, *cp, *s;
|
||||||
int len, lenexe;
|
int len, lenexe;
|
||||||
#ifdef PATH_MAX
|
|
||||||
char buf[PATH_MAX], buf2[PATH_MAX], buf3[PATH_MAX];
|
|
||||||
#else
|
|
||||||
char buf[4096], buf2[4096], buf3[4096];
|
char buf[4096], buf2[4096], buf3[4096];
|
||||||
#endif
|
|
||||||
|
|
||||||
/* 1. is argv0 abs path? */
|
/* 1. is argv0 abs path? */
|
||||||
if (argv0[0] == '/')
|
if (argv0[0] == '/')
|
||||||
|
|
Loading…
Reference in New Issue