2017-05-30 19:43:02 +02:00
|
|
|
diff -u -r ../radare2-1.5.0/libr/core/cconfig.c ./libr/core/cconfig.c
|
|
|
|
--- ../radare2-1.5.0/libr/core/cconfig.c 2017-05-30 18:46:34.000000000 +0200
|
|
|
|
+++ ./libr/core/cconfig.c 2017-05-30 19:39:39.339205400 +0200
|
|
|
|
@@ -2145,9 +2145,7 @@
|
2016-12-21 02:33:12 +01:00
|
|
|
#endif
|
2017-05-30 19:43:02 +02:00
|
|
|
SETCB ("dir.source", "", &cb_dirsrc, "Path to find source files");
|
|
|
|
SETPREF ("dir.types", "/usr/include", "Default path to look for cparse type files");
|
2016-12-21 02:33:12 +01:00
|
|
|
-#if __ANDROID__
|
2017-05-30 19:43:02 +02:00
|
|
|
- SETPREF ("dir.projects", "/data/data/org.radare.radare2installer/radare2/projects", "Default path for projects");
|
2016-12-21 02:33:12 +01:00
|
|
|
-#elif __WINDOWS__
|
|
|
|
+#if __WINDOWS__
|
2017-05-30 19:43:02 +02:00
|
|
|
SETPREF ("dir.projects", "~\\"R2_HOMEDIR"\\projects", "Default path for projects");
|
2016-12-21 02:33:12 +01:00
|
|
|
#else
|
2017-05-30 19:43:02 +02:00
|
|
|
SETPREF ("dir.projects", "~/"R2_HOMEDIR"/projects", "Default path for projects");
|
|
|
|
@@ -2300,9 +2298,7 @@
|
|
|
|
SETI ("http.maxsize", 0, "Maximum file size for upload");
|
|
|
|
SETPREF ("http.bind", "localhost", "Server address");
|
|
|
|
SETPREF ("http.homeroot", "~/.config/radare2/www", "http home root directory");
|
2016-12-21 02:33:12 +01:00
|
|
|
-#if __ANDROID__
|
2017-05-30 19:43:02 +02:00
|
|
|
- SETPREF ("http.root", "/data/data/org.radare.radare2installer/www", "http root directory");
|
2016-12-21 02:33:12 +01:00
|
|
|
-#elif __WINDOWS__
|
|
|
|
+#if __WINDOWS__
|
2017-05-30 19:43:02 +02:00
|
|
|
SETPREF ("http.root", "www", "http root directory");
|
2016-12-21 02:33:12 +01:00
|
|
|
#else
|
2017-05-30 19:43:02 +02:00
|
|
|
SETPREF ("http.root", R2_WWWROOT, "http root directory");
|