aboutsummaryrefslogblamecommitdiff
path: root/devel/clanlib1/files/patch-Sources__Core__System__Unix__init_linux.cpp
blob: 708cbae0c3f428b5c711a83b823c8d75cb1c3647 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                                               







                                           
--- Sources/Core/System/Unix/init_linux.cpp.orig	2009-03-23 00:40:42 UTC
+++ Sources/Core/System/Unix/init_linux.cpp
@@ -131,7 +131,7 @@ std::string CL_System::get_exe_path()
 
 #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;