Fossil SCM

Enable 'allow-symlinks' setting by default on non-Windows platforms.

mistachkin 2015-11-03 19:51 UTC trunk
Commit 6ee986b1d73a766d71868f647d74cb490ab06013
1 file changed +4
+4
--- src/db.c
+++ src/db.c
@@ -2356,11 +2356,15 @@
23562356
#endif /* INTERFACE */
23572357
23582358
const Setting aSetting[] = {
23592359
{ "access-log", 0, 0, 0, 0, "off" },
23602360
{ "admin-log", 0, 0, 0, 0, "off" },
2361
+#if defined(_WIN32)
23612362
{ "allow-symlinks", 0, 0, 1, 0, "off" },
2363
+#else
2364
+ { "allow-symlinks", 0, 0, 1, 0, "on" },
2365
+#endif
23622366
{ "auto-captcha", "autocaptcha", 0, 0, 0, "on" },
23632367
{ "auto-hyperlink", 0, 0, 0, 0, "on", },
23642368
{ "auto-shun", 0, 0, 0, 0, "on" },
23652369
{ "autosync", 0, 0, 0, 0, "on" },
23662370
{ "autosync-tries", 0, 16, 0, 0, "1" },
23672371
--- src/db.c
+++ src/db.c
@@ -2356,11 +2356,15 @@
2356 #endif /* INTERFACE */
2357
2358 const Setting aSetting[] = {
2359 { "access-log", 0, 0, 0, 0, "off" },
2360 { "admin-log", 0, 0, 0, 0, "off" },
 
2361 { "allow-symlinks", 0, 0, 1, 0, "off" },
 
 
 
2362 { "auto-captcha", "autocaptcha", 0, 0, 0, "on" },
2363 { "auto-hyperlink", 0, 0, 0, 0, "on", },
2364 { "auto-shun", 0, 0, 0, 0, "on" },
2365 { "autosync", 0, 0, 0, 0, "on" },
2366 { "autosync-tries", 0, 16, 0, 0, "1" },
2367
--- src/db.c
+++ src/db.c
@@ -2356,11 +2356,15 @@
2356 #endif /* INTERFACE */
2357
2358 const Setting aSetting[] = {
2359 { "access-log", 0, 0, 0, 0, "off" },
2360 { "admin-log", 0, 0, 0, 0, "off" },
2361 #if defined(_WIN32)
2362 { "allow-symlinks", 0, 0, 1, 0, "off" },
2363 #else
2364 { "allow-symlinks", 0, 0, 1, 0, "on" },
2365 #endif
2366 { "auto-captcha", "autocaptcha", 0, 0, 0, "on" },
2367 { "auto-hyperlink", 0, 0, 0, 0, "on", },
2368 { "auto-shun", 0, 0, 0, 0, "on" },
2369 { "autosync", 0, 0, 0, 0, "on" },
2370 { "autosync-tries", 0, 16, 0, 0, "1" },
2371

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button