commit c2acdaadf68d2e6dd467da87c500da4e74886e74
Author: Jacek Konieczny <[email protected]>
Date:   Fri Dec 7 09:32:51 2012 +0100

    the missin ef.sh source file

 ef.sh | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/ef.sh b/ef.sh
new file mode 100644
index 0000000..8c65d22
--- /dev/null
+++ b/ef.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+#
+# Simple script to run electric fence on stuff.  (needs libefence.so).
+#
+# $Id$
+#
+
+# Usage check.
+if [ "$1" = "" ]; then
+       echo "$0: Usage: ef [executable] [arguments]."
+       echo "  Runs the executable under the Electric Fence malloc debugger."
+       exit
+fi
+
+# Set the environment to load eletric fence.
+(\
+export LD_PRELOAD=libefence.so.0;\
+exec $*;\
+)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ElectricFence.git/commitdiff/c2acdaadf68d2e6dd467da87c500da4e74886e74

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to