]>
Commit | Line | Data |
---|---|---|
b4f82db1 | 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 | |
4 | @@ -1,29 +0,0 @@ | |
5 | -2.2.2 Oops. Shared library must be position-independent code. | |
6 | - | |
7 | -2.2.0 | |
8 | - Merge in bug-fixes, multi-thread patch, shared library patch, | |
9 | - debian/ subdirectory used for building the Debian package | |
10 | - | |
11 | -2.0.1 | |
12 | - Add work-arounds for kernel and library bugs under HP-UX. | |
13 | - HP has been notified and will repair these soon. | |
14 | - | |
15 | -2.0.2 | |
16 | - Add support for DEC Alpha. Add %a pattern for printing addresses, which | |
17 | - assumes they are passed in a void *. | |
18 | - | |
19 | -2.0.3 30-Sep-1993 | |
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. | |
23 | - | |
24 | -2.0.4 29-May-1994 | |
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 | |
30 | - 5.0 any longer. | |
31 | - | |
32 | -2.0.5 20-January-1995 | |
33 | - Port to Linux. | |
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 | |
37 | @@ -0,0 +1,27 @@ | |
38 | +## Process this file with automake to produce Makefile.in | |
39 | + | |
90779333 | 40 | +DEFS = -DUSE_SEMAPHORE |
b4f82db1 | 41 | + |
42 | +man_MANS = efence.3 | |
43 | + | |
44 | +lib_LTLIBRARIES = libefence.la | |
45 | + | |
46 | +libefence_la_SOURCES = \ | |
47 | + efence.c \ | |
48 | + efence.h \ | |
49 | + page.c \ | |
50 | + print.c | |
51 | + | |
52 | +libefence_la_LDFLAGS = -version-info 0:0:0 | |
53 | + | |
54 | +bin_SCRIPTS = ef | |
55 | + | |
56 | +noinst_PROGRAMS = eftest tstheap | |
57 | + | |
58 | +eftest_SOURCES = eftest.c efence.h | |
59 | +eftest_LDADD = libefence.la | |
60 | + | |
61 | +tstheap_SOURCES = tstheap.c efence.h | |
62 | +tstheap_LDADD = libefence.la | |
63 | + | |
64 | +EXTRA_DIST = README | |
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 | |
68 | @@ -0,0 +1,29 @@ | |
69 | +2.2.2 Oops. Shared library must be position-independent code. | |
70 | + | |
71 | +2.2.0 | |
72 | + Merge in bug-fixes, multi-thread patch, shared library patch, | |
73 | + debian/ subdirectory used for building the Debian package | |
74 | + | |
75 | +2.0.1 | |
76 | + Add work-arounds for kernel and library bugs under HP-UX. | |
77 | + HP has been notified and will repair these soon. | |
78 | + | |
79 | +2.0.2 | |
80 | + Add support for DEC Alpha. Add %a pattern for printing addresses, which | |
81 | + assumes they are passed in a void *. | |
82 | + | |
83 | +2.0.3 30-Sep-1993 | |
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. | |
87 | + | |
88 | +2.0.4 29-May-1994 | |
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 | |
94 | + 5.0 any longer. | |
95 | + | |
96 | +2.0.5 20-January-1995 | |
97 | + Port to Linux. | |
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 | |
101 | @@ -0,0 +1,44 @@ | |
102 | +/* config.h.in. Generated automatically from configure.in by autoheader. */ | |
103 | + | |
104 | +/* Define to empty if the keyword does not work. */ | |
105 | +#undef const | |
106 | + | |
107 | +/* Define if you have a working `mmap' system call. */ | |
108 | +#undef HAVE_MMAP | |
109 | + | |
110 | +/* Define as the return type of signal handlers (int or void). */ | |
111 | +#undef RETSIGTYPE | |
112 | + | |
113 | +/* Define to `unsigned' if <sys/types.h> doesn't define. */ | |
114 | +#undef size_t | |
115 | + | |
116 | +/* Define if you have the ANSI C header files. */ | |
117 | +#undef STDC_HEADERS | |
118 | + | |
119 | +/* Define if you have the getpagesize function. */ | |
120 | +#undef HAVE_GETPAGESIZE | |
121 | + | |
122 | +/* Define if you have the strerror function. */ | |
123 | +#undef HAVE_STRERROR | |
124 | + | |
125 | +/* Define if you have the <fcntl.h> header file. */ | |
126 | +#undef HAVE_FCNTL_H | |
127 | + | |
128 | +/* Define if you have the <limits.h> header file. */ | |
129 | +#undef HAVE_LIMITS_H | |
130 | + | |
131 | +/* Define if you have the <unistd.h> header file. */ | |
132 | +#undef HAVE_UNISTD_H | |
133 | + | |
134 | +/* Define if you have the c library (-lc). */ | |
135 | +#undef HAVE_LIBC | |
136 | + | |
137 | +/* Define if you have the pthread library (-lpthread). */ | |
138 | +#undef HAVE_LIBPTHREAD | |
139 | + | |
140 | +/* Name of package */ | |
141 | +#undef PACKAGE | |
142 | + | |
143 | +/* Version number of package */ | |
144 | +#undef VERSION | |
145 | + | |
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 | |
149 | @@ -0,0 +1,22 @@ | |
150 | +dnl Process this file with autoconf to produce a configure script | |
151 | + | |
152 | +AC_INIT(configure.in) | |
153 | + | |
154 | +AC_CANONICAL_SYSTEM | |
155 | + | |
156 | +AM_INIT_AUTOMAKE(ElectricFence, 2.2.2) | |
157 | + | |
158 | +AM_MAINTAINER_MODE | |
159 | + | |
160 | +dnl Checks for programs. | |
161 | +AC_PROG_CC | |
162 | +AC_PROG_INSTALL | |
163 | +AC_PROG_LN_S | |
164 | +AC_PROG_MAKE_SET | |
165 | +AM_PROG_LIBTOOL | |
166 | + | |
167 | +dnl Replace `main' with a function in -lpthread: | |
168 | +AC_CHECK_LIB(pthread, main) | |
169 | + | |
170 | +AC_OUTPUT(Makefile) | |
171 | +AM_CONFIG_HEADER(config.h) | |
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 | |
175 | @@ -0,0 +1,20 @@ | |
176 | +#!/bin/sh | |
177 | + | |
178 | +# | |
179 | +# Simple script to run electric fence on stuff. (needs libefence.so). | |
180 | +# | |
181 | +# $Id$ | |
182 | +# | |
183 | + | |
184 | +# Usage check. | |
185 | +if [ "$1" = "" ]; then | |
186 | + echo "$0: Usage: ef [executable] [arguments]." | |
187 | + echo " Runs the executable under the Electric Fence malloc debugger." | |
188 | + exit | |
189 | +fi | |
190 | + | |
191 | +# Set the environment to load eletric fence. | |
192 | +(\ | |
193 | +export LD_PRELOAD=libefence.so.0.0;\ | |
194 | +exec $*;\ | |
195 | +) | |
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 | |
199 | @@ -1,20 +0,0 @@ | |
200 | -#!/bin/sh | |
201 | - | |
202 | -# | |
203 | -# Simple script to run electric fence on stuff. (needs libefence.so). | |
204 | -# | |
205 | -# $Id$ | |
206 | -# | |
207 | - | |
208 | -# Usage check. | |
209 | -if [ "$1" = "" ]; then | |
210 | - echo "$0: Usage: ef [executable] [arguments]." | |
211 | - echo " Runs the executable under the Electric Fence malloc debugger." | |
212 | - exit | |
213 | -fi | |
214 | - | |
215 | -# Set the environment to load eletric fence. | |
216 | -(\ | |
217 | -export LD_PRELOAD=libefence.so.0.0;\ | |
218 | -exec $*;\ | |
219 | -) |