summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldapd/btree.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Don't overflow uint16 when the filesystem block size is >32K.sthen2017-05-261-3/+5
* Fix leaks by freeing 'path' and 'lru_queue' in btree_close().jmatthew2016-12-021-1/+3
* Currently we have about a 50/50 split over fcntl(n, F_GETFL [,0])krw2016-03-201-2/+2
* bzero -> memset. No binary change.mmcc2015-12-241-6/+6
* commiting -> committingmmcc2015-12-221-3/+3
* Do not assume that asprintf() clears the pointer on failure, whichmillert2015-06-031-2/+5
* change to <limits.h> universe. The only changes in the binary are duederaadt2015-01-161-2/+1
* bunch of format string cleanups, removing %i, signed vs unsigned, and evenderaadt2013-11-021-7/+7
* Do not use FP arithmetic. Variation on a diff from Mike Belopuhov some time ago.martinh2010-09-011-6/+6
* Fix a sigbus due to unaligned memory access, found when compacting onmartinh2010-07-261-5/+6
* Fix an unaligned memory access.martinh2010-07-181-2/+2
* Send empty statistics rather than segfault if "ldapctl stats" is run when amartinh2010-07-061-1/+4
* When moving a node between pages during rebalance, find the source pagemartinh2010-07-061-1/+3
* Adapt code to adhere to the comment (now that doesn't happen very often!).martinh2010-07-061-3/+2
* Unbreak writing updates to the btree while having a cursor open on themartinh2010-07-051-13/+21
* Plug a memory leak when aborting transactions.martinh2010-07-051-1/+2
* Add a BT_CURSOR_EXACT operation to btree_cursor_get. It behaves likemartinh2010-07-021-6/+17
* Plug a memory leak where each update leaked one page.martinh2010-07-021-1/+3
* reset number of revisions after compactionmartinh2010-07-011-1/+2
* Copy statistics to the compacted database so it isn't lost.martinh2010-07-011-1/+2
* Fix a null pointer dereference when writing an entry requiring a singlemartinh2010-07-011-3/+6
* Remove dead assignments. Found by clang static analyzer.martinh2010-07-011-16/+4
* Don't prune page cache directly when adding to it. Fixes a crash with amartinh2010-06-301-2/+4
* Fix signedness warnings.martinh2010-06-291-6/+7
* Add support for different page sizes in the btree. Add a new header pagemartinh2010-06-271-262/+384
* Set errno to appropriate values when returning failure in btree. Make btreemartinh2010-06-231-35/+60
* Fix byte alignment on sparc64.martinh2010-06-171-4/+4
* Verify that a transaction passed to btree_tnx_{put,del} is not readonly.martinh2010-06-151-1/+11
* Don't expose typedefs of pgno_t and indx_t in the public header file, movemartinh2010-06-131-3/+6
* Fix btree reference counting when opening the database with a filemartinh2010-06-131-5/+13
* Keep returning BT_DEAD if last meta page has the "tombstone" bit set.martinh2010-06-111-2/+7
* Allow functions that accept both a btree and a txn argument to be passed amartinh2010-06-111-4/+53
* Append a "tombstone" meta page after a database has been compacted. Thismartinh2010-06-111-30/+56
* Read-only transactions have no dirty_queue, so check for a read-onlymartinh2010-06-101-10/+10
* Fix compilation on gcc2. Check a return value from malloc while at it.martinh2010-06-031-3/+4
* remove c++ commentsmartinh2010-06-021-4/+2
* Remove trailing whitespace and spaces before tabs.martinh2010-05-311-7/+7
* Initial import of ldapd, a small LDAP daemon. Work in progress.martinh2010-05-311-0/+2905