| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
so change two
if (size not enough) {
reallocf(size*2);
}
into
while (size not enough) {
reallocf(size*2);
}
|
|
|
|
|
|
| |
PR: 86169
Submitted by: Toby Peterson <toby@apple.com>
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
Change first MAXPATHLEN to more standard PATH_MAX
Change second MAXPATHLEN to 1024 (it is temp buffer not related)
Change comment to reflect that.
Suggested by: bde
|
|
|
|
|
|
|
|
|
| |
just use MAXPATHLEN. It prevents potential buffer overflow with other
malloc implementations.
(this change based on submitted patch)
PR: 86135
Submitted by: Trevor Blackwell <tlb@tlb.org>
|
|
|
|
|
|
|
| |
(submitted patch slightly modified)
PR: 86038
Submitted by: Gerd Rausch <gerd@juniper.net>
|
|
|
|
| |
the function definition.
|
|
|
|
| |
- Remove GCC 1 stuff.
|
| |
|
|
|
|
| |
stdio/ and stdlib/. Don't define __cleanup twice.
|
| |
|
|
|
|
| |
pointers.
|
|
|
|
|
|
| |
mentioned in the description.
MFC after: 2 days
|
| |
|
|
|
|
| |
definition match. Include <unistd.h>.
|
| |
|
| |
|
|
|
|
|
|
|
| |
PR: docs/84850
Submitted by: garys
MFC after: 3 days
Approved by: keramida
|
|
|
|
|
|
|
|
|
|
| |
than the value of backlog argument.
- Document the fact that a subsequent listen(2) calls on the listening
socket change the backlog argument.
- Note that current listen queue lengths can be queried using netstat(1).
Submitted by: Igor Sysoev <is rambler-co.ru>
Wording by: gnn
|
|
|
|
|
|
|
|
|
|
| |
It is the binary equivalent to strstr(3).
void *memmem(const void *big, size_t big_len,
const void *little, size_t little_len);
Submitted by: Pascal Gloor <pascal.gloor at spale.com>
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
through <pthread.h>.
gen/sem.c: Prerequisite for <_semaphore.h>
net/getprotoent.c: USHRT_MAX
net/getservent.c: USHRT_MAX
stdio/ungetwc.c: MB_LEN_MAX
stdio/vfwscanf.c: MB_LEN_MAX
|
|
|
|
|
| |
we must allow the character beginning at "p" to be converted to a wide
character for the purposes of EOL processing and word-boundary matching.
|
|
|
|
| |
properly in multibyte locales.
|
|
|
|
| |
on Microsoft and GNU systems.
|
|
|
|
|
|
|
|
|
| |
inadvertently match a negative char in the RE being compiled.
This fixes compilation of "\376" (as an ERE) and "\376\376" (as a BRE).
PR: 84740
MFC after: 1 week
|
|
|
|
|
|
|
| |
getgrent.3.
Submitted by: Ulf Lilleengen <lulf@kerneled.org>
MFC after: 3 days
|
| |
|
|
|
|
|
| |
Prior to this it was calling the cancellable usleep() while holding
a lock.
|
|
|
|
|
|
| |
cancellation points.
Noticed by: phk
|
| |
|
|
|
|
|
|
|
|
| |
that have at least 3 characters.
MFC after: 1 week
Thanks to: Music band ``Chingon''
for keeping me company while searching for these.
|
| |
|
|
|
|
|
|
| |
PR: bin/84106
Obtained from: BIND9
MFC after: 2 days
|
|
|
|
|
|
|
| |
avoid overwriting ty_status values set from the 'type' field.
Previously TTY_DIALUP and TTY_NETWORK flags did not match
specified type.
|
|
|
|
|
| |
- use wcsrtombs() instead of a wcrtomb() loop where possible.
- avoid wcrtomb() loop when output precision is small.
|
| |
|
|
|
|
|
|
|
| |
matching is used.
PR: 35506
MFC after: 3 days
|
|
|
|
|
| |
from struct addrinfo. This change break ABI compatibility
on 64 bit arch.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net>
Obtained from: KAME
|
|
|
|
|
|
|
| |
reported by Delia Kecskemeti <delia.kecskemeti__at__windriver.com>
Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net>
Obtained from: KAME
|
|
|
|
|
|
|
|
| |
long time... i.e. since this file was imported... (ufs1 supports much
larger files then this)...
Submitted by: Ivan Voras
MFC after: 1 week
|
|
|
|
|
| |
functions and must now be either an unsigned char or EOF, regardless of
locale.
|
|
|
|
|
| |
and toupper() must now be either an unsigned char or EOF, regardless of
locale.
|
|
|
|
|
|
| |
Requested by: many Korean users from bsdforum.or.kr
Submitted by: perky
Approved by: anholt (mentor)
|
|
|
|
|
|
| |
replaces any previous mapping to the same address.
Obtained from: IEEE Std 1003.1, 2004 Edition
|
|
|
|
|
|
| |
functions.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and writev() except that they take an additional offset argument and do
not change the current file position. In SAT speak:
preadv:readv::pread:read and pwritev:writev::pwrite:write.
- Try to reduce code duplication some by merging most of the old
kern_foov() and dofilefoo() functions into new dofilefoo() functions
that are called by kern_foov() and kern_pfoov(). The non-v functions
now all generate a simple uio on the stack from the passed in arguments
and then call kern_foov(). For example, read() now just builds a uio and
calls kern_readv() and pwrite() just builds a uio and calls kern_pwritev().
PR: kern/80362
Submitted by: Marc Olzheim marcolz at stack dot nl (1)
Approved by: re (scottl)
MFC after: 1 week
|