depollution suite (PR#1914 et PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6046 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
5a678d29f5
commit
7ba8c1ca1d
|
@ -139,7 +139,7 @@ void caml_main(char **argv)
|
|||
caml_init_signals();
|
||||
exe_name = argv[0];
|
||||
#ifdef __linux__
|
||||
if (executable_name(proc_self_exe, sizeof(proc_self_exe)) == 0)
|
||||
if (caml_executable_name(proc_self_exe, sizeof(proc_self_exe)) == 0)
|
||||
exe_name = proc_self_exe;
|
||||
#endif
|
||||
caml_sys_init(exe_name, argv);
|
||||
|
|
Loading…
Reference in New Issue