summaryrefslogtreecommitdiff
path: root/devel/ElectricFence
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-01-13 17:25:37 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-01-13 17:25:37 +0000
commit9b7be7aab045781c3854ce74d9baa95bbf9cf9f2 (patch)
tree2e6ac18b3e2ed57f71cf65af18abb5a76d3af7f2 /devel/ElectricFence
parentadd tardy 1.11 (diff)
Disable printing version upon initialization.
This will allow using ElectricFence in multithreaded programs (programs linked with libc_r).
Notes
Notes: svn path=/head/; revision=73058
Diffstat (limited to 'devel/ElectricFence')
-rw-r--r--devel/ElectricFence/files/patch-efence.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/ElectricFence/files/patch-efence.c b/devel/ElectricFence/files/patch-efence.c
new file mode 100644
index 000000000000..5091d6f1415a
--- /dev/null
+++ b/devel/ElectricFence/files/patch-efence.c
@@ -0,0 +1,12 @@
+--- efence.c.orig Mon Jan 13 17:24:08 2003
++++ efence.c Mon Jan 13 17:22:50 2003
+@@ -271,7 +271,9 @@
+ char * string;
+ Slot * slot;
+
++#if 0
+ EF_Print(version);
++#endif
+
+ #ifdef USE_SEMAPHORE
+ if (sem_init(&EF_sem, 0, 1) >= 0) {