History log of /freebsd-10-stable/lib/libc/db/btree/bt_split.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 223262 18-Jun-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


# 194804 23-Jun-2009 delphij

Update SCCS IDs for Berkeley DB 1.86 merge.


# 194803 23-Jun-2009 delphij

style: operators should appear at the line end if we have to wrap.


# 190484 28-Mar-2009 delphij

Several signed/unsigned warning fixes.


# 190482 28-Mar-2009 delphij

When allocating memory, zero out them if we don't intend to overwrite them
all; before freeing memory, zero out them before we release it as free
heap. This will eliminate some potential information leak issue.

While there, remove the PURIFY option. There is a slight difference between
the new behavior and the old -DPURIFY behavior, with the latter initializes
memory with 0xff's. The difference between old and new approach does not
generate observable difference.

Obtained from: OpenBSD (partly).


# 189327 03-Mar-2009 delphij

Style changes (including additional casts to shut up warnings). This
commit does not affect MD5 of object file.


# 189291 02-Mar-2009 delphij

Diff reduction against OpenBSD: ANSI'fy prototypes.

(This is part of a larger changeset which is intended to reduce diff only,
thus some prototypes were left intact since they will be changed in the
future).

Verified with: md5(1)


# 165903 08-Jan-2007 imp

Per Regents of the University of Calfornia letter, remove advertising
clause.

# If I've done so improperly on a file, please let me know.


# 135178 13-Sep-2004 kuriyama

Fix a condition where the hole would be inserted in the wrong
place during a split.

Obtained from: NetBSD


# 135038 10-Sep-2004 kuriyama

I found "portsdb -u" dumps core with recent INDEX file, and this is
caused by refering broken (uninitialized?) pointer which is retrieved
from __bt_new() (and from mpool_new()).

I don't know why this linp[0] is read before stored because this
should be controlled by .lower and .upper member of PAGE structure
which are correctly initialized.

But this workaround fixes the problem on my environment and this
module has #ifdef PURIFY option which initializes new and reused
memory from mpool by memset(p, 0xff, size) like as I did.

Please feel free to fix the real bug instead of my workaround.


# 111010 16-Feb-2003 nectar

Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go).
Only warnings that could be fixed without changing the generated object
code and without restructuring the source code have been handled.

Reviewed by: /sbin/md5


# 93039 23-Mar-2002 obrien

W/o __P, the internal declarations will all fit on one line.


# 92905 21-Mar-2002 obrien

Remove __P() usage.


# 37155 25-Jun-1998 guido

Fix btree problems. This passes regressions tests.
PR: 7009
Obtained from: http://www.sleepycat.com/update/patch.185.html, patches 1.2,
1.3 and 1.4


# 14273 26-Feb-1996 pst

This commit was generated by cvs2svn to compensate for changes in r14272,
which included commits to RCS files with non-trunk default branches.


# 14272 26-Feb-1996 pst

Import updated Berkeley DB into CSRG branch


# 1573 27-May-1994 rgrimes

BSD 4.4 Lite Lib Sources