MINOR: tools: add get_exec_path implementation for solaris based systems.
We can use getexecname() which fetches AT_SUN_EXECNAME from the auxiliary vectors.
This commit is contained in:
parent
135c1ec139
commit
7198c700bc
@ -4821,6 +4821,8 @@ const char *get_exec_path()
|
||||
break;
|
||||
}
|
||||
}
|
||||
#elif defined(__sun)
|
||||
ret = getexecname();
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user