aboutsummaryrefslogtreecommitdiff
path: root/contrib/global/dbpatches/README
blob: b1e9116db9a35a9aa1d26b33d9968a69f2e427c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Patch for btree(3)
------------------

Btree(3) core dumps on certain data sets.

if (your system == FreeBSD 2.2.6R or former)
	needs this patch.
else if (your system == Debian GNU/Linux 1.3.1)
	needs this patch.
else
	I don't know.

Please apply patch files in this directory.

1. patch your btree(3) source code

	% ls
	patch.1.2       patch.1.3       patch.1.4
	% set dir=`pwd`			<- set current directory
	% cd /usr/src/lib/libc/db	<- your db source code directory
	% cd btree			<- btree library
	% patch < $dir/patch.1.2	<- it must be in this order.
	  .
	  .
	% patch < $dir/patch.1.3
	  .
	  .
	% patch < $dir/patch.1.4
	  .
	  .

2. remake and install your db(3) library.
3. remake GLOBAL.
4. remake tag files because tag files are already corrupted.

I derived these patches from 'http://www.sleepycat.com/update/'.
Information is found on 'http://www.sleepycat.com/update/patch.185.html'.