patch-Sources__Core__System__Unix__init_linux.cpp 343 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
--- ./Sources/Core/System/Unix/init_linux.cpp.orig	2012-09-26 07:30:30.000000000 -0400
+++ ./Sources/Core/System/Unix/init_linux.cpp	2012-09-26 07:29:01.000000000 -0400
@@ -131,7 +131,7 @@
 
 #else
 #ifndef PROC_EXE_PATH
-#define PROC_EXE_PATH "/proc/self/exe"
+#define PROC_EXE_PATH "/proc/curproc/file"
 #endif
 	int size;
 	struct stat sb;