| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Obtained from: KAME
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
information.
Obtained from: OpenBSD
|
|
|
|
|
|
|
| |
LRU page.
- Fix for sequential retrieval failure when using large key/data pairs.
Obtained from: OpenBSD
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
|
|
| |
pairs, not onto a page containing the end of a big pair.
Obtained from: NetBSD via OpenBSD
|
| |
|
|
|
|
|
|
| |
in one more case.
Obtained from: NetBSD via OpenBSD
|
|
|
|
| |
Obtained from: NetBSD via OpenBSD
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Some parts (ERANGE, ETXTBSY) triggered by Christoph Mallon.
Discussed with: brueffer, gabor (previous version)
|
|
|
|
|
| |
PR: conf/133004
Submitted by: Tatsiana Elavaya <t.elavaya@gmail.com>
|
|
|
|
|
|
|
|
| |
specified in hint or hints is NULL.
PR: bin/51827
Submitted by: Mark Andrews <marka__at__isc.org>
MFC after: 1 week
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
Obtained from: NetBSD via OpenBSD
|
|
|
|
|
| |
Submitted by: Florian Smeets <flo kasimir com>
MFC after: 3 days
|
| |
|
|
|
|
| |
Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> (via private mail)
|
|
|
|
|
|
| |
PR: kern/132773
Reported by: Alan R. S. Bueno <alan.bsd@gmail.com>
Submitted by: Murilo Opsfelder <mopsfelder@gmail.com>
|
|
|
|
|
|
|
|
| |
- Fixes for German catalog [2]
PR: kern/132694 [1], conf/80504 [2]
Submitted by: Murilo Opsfelder <mopsfelder@gmail.com> [1],
brueffer [2]
|
|
|
|
|
|
| |
mkdir calls
- Remove the ugly workaroung from libc NLS, which was to create some of
these directories
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
|
|
| |
manpage and UPDATING entry 20090302.
UPDATING changes suggested by bf2006a yahoo com.
man page corrections by bde.
|
|
|
|
|
|
| |
malloc(3) call, so don't test if a pointer is NULL.
Obtained from: OpenBSD (in spirit)
|
| |
|
|
|
|
|
|
| |
dprintf() is a simple wrapper around another function, so we may as
well implement it. But also like getline(), we can't prototype it by
default right now because it would break too many ports.
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
| |
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
| |
commit does not affect MD5 of object file.
|
|
|
|
|
|
|
| |
this commit does not affect any object code.
Obtained from: OpenBSD
Verified with: md5(1)
|
|
|
|
|
|
|
|
| |
(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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
memory from int to size_t. Implement a workaround for current ABI not
allowing to properly save size for and report more then 2Gb sized segment
of shared memory.
This makes it possible to use > 2 Gb shared memory segments on 64bit
architectures. Please note the new BUGS section in shmctl(2) and
UPDATING note for limitations of this temporal solution.
Reviewed by: csjp
Tested by: Nikolay Dzham <i levsha org ua>
MFC after: 2 weeks
|
|
|
|
|
| |
number of functions that have an incestuous relationship with the
arcane innards of stdio.
|
|
|
|
| |
a size_t *, although the distinction is moot in practice.
|
|
|
|
| |
Reviewed by: md5(1)
|
| |
|