diff options
author | fjoe <fjoe@FreeBSD.org> | 2003-01-14 01:25:37 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2003-01-14 01:25:37 +0800 |
commit | 56153e5445dbcfe561bec7bc0ed42436e9384b4e (patch) | |
tree | 175cc40b89c4ee722a83d05292a3f5a0c3d87c6f /devel/ElectricFence | |
parent | c043ab25d670f8911d202c83ad8b1a498ab95a4a (diff) | |
download | freebsd-ports-gnome-56153e5445dbcfe561bec7bc0ed42436e9384b4e.tar.gz freebsd-ports-gnome-56153e5445dbcfe561bec7bc0ed42436e9384b4e.tar.zst freebsd-ports-gnome-56153e5445dbcfe561bec7bc0ed42436e9384b4e.zip |
Disable printing version upon initialization.
This will allow using ElectricFence in multithreaded programs
(programs linked with libc_r).
Diffstat (limited to 'devel/ElectricFence')
-rw-r--r-- | devel/ElectricFence/files/patch-efence.c | 12 |
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) { |