summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add some casts to silence compiler warning about signedness.delphij2009-03-282-3/+3
|
* Minor changes from Berkeley DB 1.86 and further improvements from OpenBSD.delphij2009-03-2810-115/+214
| | | | | | | | | | This does not include the new hash routines since they will cause problems when reading old hash files. Since mpool(3) has been changed, provide a compatibility shim for older binaries. Obtained from: OpenBSD
* Allow O_SYNC and O_NOFOLLOW flags in dbopen().delphij2009-03-281-2/+2
| | | | Obtained from: OpenBSD
* Plug memory leaks and a potential NULL dereference.delphij2009-03-281-4/+12
| | | | Obtained from: OpenBSD
* Simplify the logic when determining whether to zero out a db file to afterdelphij2009-03-281-15/+5
| | | | | | | | open(). The previous logic only initializes the database when O_CREAT is set, but as long as we can open and write the database, and the database is empty, we should initialize it anyway. Obtained from: OpenBSD
* - If (keysize+datasize)%(bsize=14)==0, insertion of a `big key' would causedelphij2009-03-281-6/+18
| | | | | | | | | | | | | | | an invariant (actually, an ugly hack) to fail, and all Hell would break loose. When deleting a big key, the offset of an empty page should be bsize, not bsize-1; otherwise an insertion into the empty page will cause the new key to be elongated by 1 byte. Make the packing more dense in a couple of cases. - fix NULL dereference exposed on big bsize values; Obtained from: NetBSD via OpenBSD
* Avoid NULL deference which causes DEBUG1 to crash, not to print usefuldelphij2009-03-281-1/+1
| | | | | | information. Obtained from: OpenBSD
* - Avoid overwriting the cursor page when the cursor page becomes thedelphij2009-03-281-1/+21
| | | | | | | LRU page. - Fix for sequential retrieval failure when using large key/data pairs. Obtained from: OpenBSD
* Fix a crash when iterating over a hash and removing its elements.delphij2009-03-282-11/+21
| | | | Obtained from: OpenBSD
* Only squeeze a short key/value pair onto a page with other complete key/valuedelphij2009-03-281-3/+9
| | | | | | pairs, not onto a page containing the end of a big pair. Obtained from: NetBSD via OpenBSD
* Diff reduce against OpenBSD, no functional change.delphij2009-03-282-12/+6
|
* Return meaningful errno in overflow case; print error message to stderrdelphij2009-03-281-1/+7
| | | | | | in one more case. Obtained from: NetBSD via OpenBSD
* Use pread(2) and pwrite(2) instead of lseek(2) + read(2) / write(2).delphij2009-03-282-6/+3
| | | | Obtained from: NetBSD via OpenBSD
* db/btree/bt_open.c: check return value of snprintf() and return valuedelphij2009-03-282-6/+21
| | | | | | | | | if the result is truncated. db/hash/hash_page.c: use the same way to create temporary file as bt_open.c; check snprintf() return value. Obtained from: OpenBSD
* Several signed/unsigned warning fixes.delphij2009-03-288-16/+18
|
* When allocating memory, zero out them if we don't intend to overwrite themdelphij2009-03-285-28/+11
| | | | | | | | | | | | 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).
* Document missing requests.dds2009-03-271-2/+18
|
* Add support for SCTP to getaddrinfo(3).ume2009-03-251-7/+20
| | | | | | | | | | | | | Now, getaddrinfo(3) returns two SOCK_STREAMs, IPPROTO_TCP and IPPROTO_SCTP. It confuses some programs. If getaddrinfo(3) returns IPPROTO_SCTP when SOCK_STREAM is specified by hints.ai_socktype, at least Apache doesn't work. So, I made getaddrinfo(3) to return IPPROTO_SCTP with SOCK_STREAM only when IPPROTO_SCTP is specified explicitly by hints.ai_protocol. PR: bin/128167 Submitted by: Bruce Cran <bruce__at__cran.org.uk> (partly) MFC after: 2 week
* Improve the German translation.netchild2009-03-251-6/+6
| | | | | | Some parts (ERANGE, ETXTBSY) triggered by Christoph Mallon. Discussed with: brueffer, gabor (previous version)
* - Add Belarusian cataloggabor2009-03-242-0/+250
| | | | | PR: conf/133004 Submitted by: Tatsiana Elavaya <t.elavaya@gmail.com>
* Allow compile from c++ for libpmcfabient2009-03-242-0/+6
| | | | | Approved by: jkoshy (mentor) MFC after: 3 days
* getaddrinfo(3) should accept numeric when ai_socktype is notume2009-03-241-1/+11
| | | | | | | | specified in hint or hints is NULL. PR: bin/51827 Submitted by: Mark Andrews <marka__at__isc.org> MFC after: 1 week
* Save errno before calling _close(), which may clear it.delphij2009-03-231-2/+4
| | | | Obtained from: OpenBSD
* use more proper format string.delphij2009-03-232-11/+11
| | | | Obtained from: NetBSD via OpenBSD
* 7.2 will be the first release where strndup() appears.kib2009-03-221-1/+1
| | | | | Submitted by: Florian Smeets <flo kasimir com> MFC after: 3 days
* Fix typo in comment.rpaulo2009-03-221-1/+1
|
* Install the new headers.rpaulo2009-03-221-0/+7
|
* Support files for new libpcap 1.0.0.rpaulo2009-03-212-50/+133
| | | | Includes a shlib bump.
* o Spell.maxim2009-03-211-4/+4
|
* - Add Ukranian cataloggabor2009-03-202-0/+250
| | | | Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> (via private mail)
* Forcibly unlock the malloc() locks in the child process after fork(),kib2009-03-191-1/+4
| | | | | | | by temporary pretending that the process is still multithreaded. Current malloc lock primitives do nothing for singlethreaded process. Reviewed by: davidxu, deischen
* - Fix typogabor2009-03-181-1/+1
| | | | | | PR: kern/132773 Reported by: Alan R. S. Bueno <alan.bsd@gmail.com> Submitted by: Murilo Opsfelder <mopsfelder@gmail.com>
* Add prototypes for libusb20_be_[gs]et_template.delphij2009-03-171-0/+2
|
* - Add Brazilian Portuguese catalog [1]gabor2009-03-163-41/+273
| | | | | | | | - Fixes for German catalog [2] PR: kern/132694 [1], conf/80504 [2] Submitted by: Murilo Opsfelder <mopsfelder@gmail.com> [1], brueffer [2]
* - Create the buildworld object directories with mtree instead of variousgabor2009-03-151-6/+0
| | | | | | mkdir calls - Remove the ugly workaroung from libc NLS, which was to create some of these directories
* Namespace: scalb() is withdrawn from POSIX.das2009-03-141-1/+4
|
* Eliminate __real__ and __imag__ gccisms.das2009-03-144-15/+42
|
* - Fix object directory creation when running threaded buildworldgabor2009-03-131-1/+1
|
* - Reenable Native Language Support in libc. This feature was disabled duegabor2009-03-1315-0/+3270
| | | | | | | | | | | | | | | | | | | | | | | | | to possible breakages in the catalog handling code. Since then, that code has been replaced by the secure code from NetBSD but NLS in libc remained turned off. Tests have shown that the feature is stable and working so we can now turn it on again. - Add several new catalog files: - ca_ES.ISO8859-1 - de_DE.ISO8859-1 - el_GR.ISO8859-7 (by manolis@ and keramida@) - es_ES.ISO8859-1 (kern/123179, by carvay@) - fi_FI.ISO8859-1 - fr_FR.ISO8859-1 (kern/78756, by thierry@) - hu_HU.ISO8859-2 (by gabor@) - it_IT.ISO8859-15 - nl_NL.ISO8859-1 (corrections by rene@) - no_NO.ISO8859-1 - mn_MN.UTF-8 (by ganbold@) - sk_SK.ISO8859-2 - sv_SE.ISO8859-1 (The catalogs without explicit source has been obtained from NetBSD.) Approved by: attilio
* Don't need to set symbol, default value is OK.obrien2009-03-121-1/+1
|
* Hack: *Temporarily* disable reading extended attributes from disk, askientzle2009-03-111-0/+4
| | | | it seems to be badly broken on ZFS.
* Reflect license change from NetBSD.delphij2009-03-106-48/+6
| | | | Obtained from: NetBSD
* Update libusb.3 name and add mlinks for usb.3 and libusb20.3thompsa2009-03-102-4/+7
|
* Be compatible with LibUSB from sourceforge and close the handle after resetthompsa2009-03-101-1/+5
| | | | Submitted by: Hans Petter Selasky
* Commit missed file in r189587, update directory name for libusb.thompsa2009-03-091-2/+2
| | | | Spotted by: rdivacky
* libusb20 is now installed as libusb, remove the version number from thethompsa2009-03-0912-0/+0
| | | | directory name.
* Install libusb20.so.1 as libusb.so.1, there will be a followup commit to thethompsa2009-03-093-4/+5
| | | | | | | | | ports tree so that programs use libusb from the base by default. Thanks to Stanislav Sedov for sorting out the ports build. Bump __FreeBSD_version to 800069 Help and testing by: stas
* Don't ignore other fcntl functions, directly call __sys_fcntl ifdavidxu2009-03-091-1/+1
| | | | | | WITHOUT_SYSCALL_COMPAT is not defined. Reviewed by: deischen
* Don't reference non-existent __fcntl_compat if WITHOUT_SYSCALL_COMPAT is ↵davidxu2009-03-092-0/+10
| | | | | | defined. Submitted by: Pawel Worach "pawel dot worach at gmail dot com"
* Set version to 2.6.901a to indicate this now matcheskientzle2009-03-081-2/+3
| | | | | libarchive.googlecode.com r745. (Except for the lzma/xz support, which needs a little more attention before it can be merged.)
OpenPOWER on IntegriCloud