summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s/freebsd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/s/freebsd.h b/src/s/freebsd.h
index af2439fb4d3..1a04cf0f56a 100644
--- a/src/s/freebsd.h
+++ b/src/s/freebsd.h
@@ -99,3 +99,9 @@
It is already a controlling terminal of subprocess, because we did
ioctl TIOCSCTTY. */
#define DONT_REOPEN_PTY
+
+/* CLASH_DETECTION is defined in bsd4-3.h.
+ In FreeBSD 2.1.5 (and other 2.1.x), this results useless symbolic links
+ remaining in /tmp or other directories with +t bit.
+ To avoid this problem, you could #undef it to use no file lock. */
+/* #undef CLASH_DETECTION */