1 diff -Nru ElectricFence-2.2.2/CHANGES ElectricFence-2.2.2.new/CHANGES
2 --- ElectricFence-2.2.2/CHANGES Thu Oct 5 18:20:20 2000
3 +++ ElectricFence-2.2.2.new/CHANGES Thu Jan 1 01:00:00 1970
5 -2.2.2 Oops. Shared library must be position-independent code.
8 - Merge in bug-fixes, multi-thread patch, shared library patch,
9 - debian/ subdirectory used for building the Debian package
12 - Add work-arounds for kernel and library bugs under HP-UX.
13 - HP has been notified and will repair these soon.
16 - Add support for DEC Alpha. Add %a pattern for printing addresses, which
17 - assumes they are passed in a void *.
20 - When realloc is passed a zero address, it should work the same
21 - way as malloc(). Fix forward declaration of mprotect() in page.c to
22 - use void *, not caddr_t, for addresses. IRIX 5.0.1 complained about that.
25 - Don't attempt to allow access to a zero-sized page when
26 - EF_ALLOW_MALLOC_0 is set. Attempt to un-map memory from
27 - Page_Delete(). If that doesn't work, fall back by protecting the
28 - page from all references. Un-mapping small segments of a mapping
29 - used to crash my SGI IRIX 5.0 system. I assume that nobody is running
32 -2.0.5 20-January-1995
34 diff -Nru ElectricFence-2.2.2/Makefile.am ElectricFence-2.2.2.new/Makefile.am
35 --- ElectricFence-2.2.2/Makefile.am Thu Jan 1 01:00:00 1970
36 +++ ElectricFence-2.2.2.new/Makefile.am Thu Oct 5 18:21:10 2000
38 +## Process this file with automake to produce Makefile.in
40 +DEFS = -DUSE_SEMAPHORE
44 +lib_LTLIBRARIES = libefence.la
46 +libefence_la_SOURCES = \
52 +libefence_la_LDFLAGS = -version-info 0:0:0
56 +noinst_PROGRAMS = eftest tstheap
58 +eftest_SOURCES = eftest.c efence.h
59 +eftest_LDADD = libefence.la
61 +tstheap_SOURCES = tstheap.c efence.h
62 +tstheap_LDADD = libefence.la
65 diff -Nru ElectricFence-2.2.2/NEWS ElectricFence-2.2.2.new/NEWS
66 --- ElectricFence-2.2.2/NEWS Thu Jan 1 01:00:00 1970
67 +++ ElectricFence-2.2.2.new/NEWS Tue Apr 13 19:27:29 1999
69 +2.2.2 Oops. Shared library must be position-independent code.
72 + Merge in bug-fixes, multi-thread patch, shared library patch,
73 + debian/ subdirectory used for building the Debian package
76 + Add work-arounds for kernel and library bugs under HP-UX.
77 + HP has been notified and will repair these soon.
80 + Add support for DEC Alpha. Add %a pattern for printing addresses, which
81 + assumes they are passed in a void *.
84 + When realloc is passed a zero address, it should work the same
85 + way as malloc(). Fix forward declaration of mprotect() in page.c to
86 + use void *, not caddr_t, for addresses. IRIX 5.0.1 complained about that.
89 + Don't attempt to allow access to a zero-sized page when
90 + EF_ALLOW_MALLOC_0 is set. Attempt to un-map memory from
91 + Page_Delete(). If that doesn't work, fall back by protecting the
92 + page from all references. Un-mapping small segments of a mapping
93 + used to crash my SGI IRIX 5.0 system. I assume that nobody is running
96 +2.0.5 20-January-1995
98 diff -Nru ElectricFence-2.2.2/config.h.in ElectricFence-2.2.2.new/config.h.in
99 --- ElectricFence-2.2.2/config.h.in Thu Jan 1 01:00:00 1970
100 +++ ElectricFence-2.2.2.new/config.h.in Thu Oct 5 03:52:17 2000
102 +/* config.h.in. Generated automatically from configure.in by autoheader. */
104 +/* Define to empty if the keyword does not work. */
107 +/* Define if you have a working `mmap' system call. */
110 +/* Define as the return type of signal handlers (int or void). */
113 +/* Define to `unsigned' if <sys/types.h> doesn't define. */
116 +/* Define if you have the ANSI C header files. */
119 +/* Define if you have the getpagesize function. */
120 +#undef HAVE_GETPAGESIZE
122 +/* Define if you have the strerror function. */
123 +#undef HAVE_STRERROR
125 +/* Define if you have the <fcntl.h> header file. */
128 +/* Define if you have the <limits.h> header file. */
129 +#undef HAVE_LIMITS_H
131 +/* Define if you have the <unistd.h> header file. */
132 +#undef HAVE_UNISTD_H
134 +/* Define if you have the c library (-lc). */
137 +/* Define if you have the pthread library (-lpthread). */
138 +#undef HAVE_LIBPTHREAD
140 +/* Name of package */
143 +/* Version number of package */
146 diff -Nru ElectricFence-2.2.2/configure.in ElectricFence-2.2.2.new/configure.in
147 --- ElectricFence-2.2.2/configure.in Thu Jan 1 01:00:00 1970
148 +++ ElectricFence-2.2.2.new/configure.in Thu Oct 5 18:12:38 2000
150 +dnl Process this file with autoconf to produce a configure script
152 +AC_INIT(configure.in)
153 +AM_CONFIG_HEADER(config.h)
157 +AM_INIT_AUTOMAKE(ElectricFence, 2.2.2)
161 +dnl Checks for programs.
168 +dnl Replace `main' with a function in -lpthread:
169 +AC_CHECK_LIB(pthread, main)
172 diff -Nru ElectricFence-2.2.2/ef ElectricFence-2.2.2.new/ef
173 --- ElectricFence-2.2.2/ef Thu Jan 1 01:00:00 1970
174 +++ ElectricFence-2.2.2.new/ef Thu Oct 5 03:10:38 2000
179 +# Simple script to run electric fence on stuff. (needs libefence.so).
185 +if [ "$1" = "" ]; then
186 + echo "$0: Usage: ef [executable] [arguments]."
187 + echo " Runs the executable under the Electric Fence malloc debugger."
191 +# Set the environment to load eletric fence.
193 +export LD_PRELOAD=libefence.so.0;\
196 diff -Nru ElectricFence-2.2.2/ef.sh ElectricFence-2.2.2.new/ef.sh
197 --- ElectricFence-2.2.2/ef.sh Thu Oct 5 18:20:09 2000
198 +++ ElectricFence-2.2.2.new/ef.sh Thu Jan 1 01:00:00 1970
203 -# Simple script to run electric fence on stuff. (needs libefence.so).
209 -if [ "$1" = "" ]; then
210 - echo "$0: Usage: ef [executable] [arguments]."
211 - echo " Runs the executable under the Electric Fence malloc debugger."
215 -# Set the environment to load eletric fence.
217 -export LD_PRELOAD=libefence.so.0.0;\