joerg
f3abef9367
Improve portability and clarity by using uint8_t for the byte data
...
and expanding u_int to not depend on the !POSIX types.
2009-11-06 20:31:18 +00:00
snj
32381fa0dd
Follow upstream license changes for files with Michael Shalayeff's
...
copyright. In most cases, this means dropping the 3rd and 4th clauses.
2009-11-03 05:07:25 +00:00
stacktic
da8c43524c
Make sure fts_statp is NULL when FTS_NOSTAT is set
2009-11-02 17:17:34 +00:00
christos
2853bbf4b7
use %option instead of #define YY_NO_...
2009-10-29 14:49:02 +00:00
wiz
bd339365ac
Sort ERRORS. Add comma in enumeration.
2009-10-29 01:52:01 +00:00
njoly
b83467c466
Make flock(2) more robust to invalid operation, such as
...
(LOCK_EX|LOCK_SH).
2009-10-28 18:24:44 +00:00
jnemeth
906faa3823
mention MODULE_CLASS_SECMODEL
2009-10-26 20:43:37 +00:00
jnemeth
79487327f2
XXX - confirmed that ms_required is comma-delimited
...
XXX - MODULE_CLASS_ANY shouldn't be returned, but potentially could
be if a module were declared that way
2009-10-26 20:40:00 +00:00
dholland
f1c1c5ddec
Edit - expand descriptions; document data structures in English rather
...
than in C; use more markup; make nroff output not exceed 80 columns.
2009-10-26 05:57:36 +00:00
christos
cfbb35ed03
revert some of dsl's changes to make things build on i386; he can undo what
...
he wants when he comes back.
2009-10-25 20:44:13 +00:00
dsl
5f1a9bea9e
Lint is differentially far too picky...
...
Remove some warnings that only appear on i386 (not on amd64) and that
for some reason best known to others are deemed fatal for i386.
Making this code 'pass lint' does absolutely nothing for its readability (etc).
2009-10-25 17:09:34 +00:00
mlelstv
7aea3a0d0a
import tzcode2009k
2009-10-25 16:20:16 +00:00
christos
3b0d9a876a
don't read hostaliases using unbuffered reads. there is no security benefit.
2009-10-24 21:37:57 +00:00
christos
9d8aeaab57
simplify the example; only register the set of events to watch once since
...
it does not change. Also print that ATTR means changing times too.
2009-10-24 17:49:58 +00:00
christos
e942b6ecb2
expose res_check.
2009-10-24 17:24:01 +00:00
mlelstv
df0cec4903
With 64bit time_t years can be negative and lapyear computation
...
requires rounding down. This avoids an infinite loop in localtime().
2009-10-24 17:01:04 +00:00
dsl
0b807be843
Remove a load of pointless casts - one that even lint doesn't bleat about.
2009-10-24 15:20:15 +00:00
dsl
695bc79994
Check for EOF before erroring fgets() with length <= 0.
...
If length is invalid, set errno = EINVAL and __SERR as well returning NULL.
Should let me close PR/41992.
2009-10-24 14:50:48 +00:00
christos
249296c41c
Add a knote to keep track when resolv.conf gets changed and re-initialize.
...
While here fix a memory leak when calling res_vinit with an already inited
res_state.
2009-10-24 05:35:37 +00:00
bouyer
e0f9b22254
Remove closes 3 and 4 from my copyright.
2009-10-22 21:50:01 +00:00
snj
799a191e36
Pull in revisions 1.24 and 1.25 from upstream, which change this file's
...
license to ISC-style.
2009-10-22 01:38:18 +00:00
skrll
43f47d3c56
G/C bcopy.m4 and references to it.
2009-10-21 19:30:46 +00:00
snj
550147bd6a
Remove 3rd and 4th clauses in christos' license. OK christos.
2009-10-21 01:07:44 +00:00
jnemeth
1cadc32cd7
First pass at a manpage for modctl(2) (hi ad!).
2009-10-20 04:41:28 +00:00
joerg
be403b3398
Fix header to include. From Kristaps Dzonsons.
2009-10-19 22:38:56 +00:00
christos
236714187a
PR/42201: NAKAJIMA Yoshihiro: fts(3): broken compatibility
...
As new field types were added, we did not provide overrides for older compat
versions. This restores compatibility.
2009-10-19 17:52:01 +00:00
dsl
40f437887d
Reverse previous, committed by mistake.
2009-10-15 06:19:35 +00:00
roy
5f96926957
Handle errors from getdelim better.
2009-10-15 00:36:24 +00:00
dsl
01a0f8ea84
Change a while () {} into a do {} while() so that fgets(buf, 1, file)
...
detects EOF on an empty file.
Fixes most of PR/41992
2009-10-14 21:25:52 +00:00
roy
6e80fcc98f
Store the allocated buffer against FILE, plugging a memory leak.
...
Fixes PR bin/42183.
2009-10-14 20:54:51 +00:00
joerg
178d0fc825
Do not nest displays, use lists instead. Discussed with wiz.
...
Fix markup.
2009-10-14 17:24:03 +00:00
joerg
6fc39b6fcb
No .Pp inside .Rs/.Re.
2009-10-13 21:39:55 +00:00
pooka
50efcfca57
When converting the locking path of mutex+counter to a real recursive
...
mutex, it's a good idea to convert the unlock path too so that the
recursive mutex gets released as many times as it was locked.
Fixes pthread + cxa deadlock.
2009-10-08 16:33:45 +00:00
tnozaki
6c81c0d804
fix lib/42124: setlocale(3) never returns NULL with none existing locale.
...
reported by kambe-san, thanks!
2009-10-04 21:05:18 +00:00
phx
c9394f466a
SystemV-R4 ABI for M68k returns pointers in %a0, so we have to make sure
...
that CERROR returns -1 in %a0 in addition to %d0 and %d1, to make functions
like mmap(2), mremap(2), shmat(2) or sbrk(2) return -1 in case of an error.
A side effect of this bug was a segfault caused by jemalloc, when mmap()
failed.
2009-10-03 22:28:33 +00:00
wiz
3dee657aa5
Revert a -> an changes: Adding an 'n' follows pronunciation, not writing.
2009-10-02 07:41:08 +00:00
wiz
b9f34d69ea
Bump date for new allocaddrinfo.
2009-10-02 06:59:37 +00:00
cegger
45db136e91
fix grammar: a -> an
2009-10-02 06:49:23 +00:00
tsarna
1f4f234ea9
Introduce allocaddrinfo(3) to make writing getaddrinfo() nss plugins easier.
...
Discussed on tech-net.
2009-10-02 02:45:28 +00:00
elad
6780ec6543
CTLFLAG_READONLY[12] are long gone.
2009-09-26 04:43:48 +00:00
pooka
4c1e54d82b
Add Solarisa-like dlinfo() interface to the ELF dynamic linker.
...
Implement RTLD_DI_LINKMAP which returns a pointer to the linkmap
chain at the given object. Other Solaris queries are currently
unimplemented.
2009-09-24 21:21:33 +00:00
roy
86eafd3e05
__getdelim works on strings up to SIZE_MAX - 2 and returns 0 on EOF.
...
getdelim works on strings up to SSIZE_MAX and returns -1 on EOF.
__fgetstr is now just a wrapper around __getdelim and ensures that
the buffer doesn't overflow the one provided by FILE.
__slbexpand is now static in fgetwln as it is the only consumer of that func.
2009-09-24 20:38:53 +00:00
dsl
602976fff6
Ansify functions and remove __P/
2009-09-05 08:53:06 +00:00
dholland
9af4cd75f3
Add parentheses around a misleading string constant concatenation,
...
from (my own, very old) PR 36064.
2009-09-05 06:44:27 +00:00
apb
a9dda51fb1
Add cross references to new boothowto(9) man page.
2009-09-04 23:29:02 +00:00
wiz
9e5519cfe8
Make HTML-ready.
2009-09-01 22:12:05 +00:00
elad
8fbf70d4eb
Add useful example program from
...
http://mail-index.netbsd.org/tech-kern/2009/09/01/msg006020.html
2009-09-01 22:01:48 +00:00
wiz
0e46e32aae
Note some restrictions for getdelim arguments noted by joerg.
...
Bump date.
2009-08-25 16:28:26 +00:00
dsl
11bcd8ad6a
The 'table' of character weights is allowed to be NULL.
...
The SETUP define sorts it out (in the slowest and nastiest possible way!)
Broken by rev 1.12 almost 10 years ago!
2009-08-21 20:49:50 +00:00
he
6218a6dafa
Introduce a new accessor macro N_NAME() to access the n_name field
...
in struct nlist, since it's accessed differently depending on
whether we do a.out or not. Use this macro as appropriate in the
nlist* functions.
Also replace some includes of <a.out.h> with <nlist.h>, to fix build
problem for mips.
2009-08-21 08:42:02 +00:00
martin
bc27f3e093
forward declare struct nlist before including nlist_private.h to avoid a
...
compiler warning.
2009-08-20 11:08:59 +00:00
he
4cf9cdf39a
Actually, when we really need the a.out defines from <nlist.h>, we
...
need to include <a.out.h> anyway. Move it inside #ifdef NLIST_AOUT.
2009-08-20 10:19:36 +00:00
he
3a05737d04
Instead of including <a.out.h> to get at "struct nlist" (with a comment
...
to explain it), include <nlist.h> instead, so that our mips ports don't
error out in the absence of aout_machdep.h.
2009-08-20 08:30:04 +00:00
joerg
8a6f35af57
Fix markup.
2009-08-19 15:43:02 +00:00
christos
f227975929
Version fts one more time! This is the most versioned API ever... Bump
...
fts_level from short to int to avoid a potential DoS.
From Maksymilian Arciemowicz
2009-08-16 19:33:38 +00:00
matt
3308ff5cbf
Only include <sys/exec_aout.h> if NLIST_AOUT is defined.
...
Don't define NLIST_AOUT for mips anymore.
2009-08-16 03:56:26 +00:00
seanb
612dfc4de9
Watch getservbyport_r() semantics. sv needs scope
...
while results are being looked at which in turn
are no longer valid after a endservent_r().
2009-08-12 20:24:30 +00:00
dsl
a245205b96
Change NO_SRCS lines to specify .S in order to exclude the .c file from
...
SRCS but add it to LSRCS (sort of makes sense!).
2009-08-11 17:30:43 +00:00
dsl
05e1772663
Change (slightly) the way NO_SRCS is processed, update big comment!
...
Now the .c file is removed from SRCS for both .S and .c in NO_SRSC.
The .c file is added to LSRCS for .S files in NO_SRCS.
(.S files in SRCS have the same treatment - but also get compiled.)
Allows vax build to be fixed.
Also the previous version failed to add to LSRCS correctly.
2009-08-11 17:29:04 +00:00
dsl
4ef3fc9143
Add text to the description saying that normal applications should not
...
use syscall().
Add text to bugs saying that high bits of the syscall number may be masked.
Fixes bug PR/11088
2009-08-07 19:34:46 +00:00
wiz
9c8f6f63d2
Bump date for previous.
2009-08-05 23:15:52 +00:00
pooka
27db690df3
fhopen() needs sys/mount.h
...
(if someone disagrees, feel free to fix as much as your heart desires)
2009-08-05 23:03:08 +00:00
dsl
f687cf7e68
If the current locale doesn't define the 'thousands' grouping info
...
then use sane defaults (',' every 3 digits).
Fixes PR/40714
2009-08-05 20:46:01 +00:00
joerg
eb96fdd9a2
ffs(3) lives in strings.h, so include the correct header. ANSIfy.
2009-08-05 16:08:00 +00:00
joerg
466a3e5dee
Revert to revision 1.8. Blindly ignoring options is not acceptable
...
behavior and hides more problems than it is fixing.
Discussion:
http://mail-index.netbsd.org/current-users/2009/02/03/msg007761.html
Approved by: core@
2009-08-05 15:17:02 +00:00
dsl
d3c3d024a7
bzero.S defines memset(), so exclude memset.c
2009-08-03 06:26:41 +00:00
dsl
af129c0bc8
bzero.S also defines memset(), so exclude memset.c
2009-08-03 06:25:34 +00:00
dsl
8190cfe5fa
Don't remove imaxdiv.c
2009-07-31 20:54:35 +00:00
dsl
10ad5ffa71
Add the 'abs', 'div' and 'erand48' sources to stdlib/Makefile.inc.
...
Change the arch files only include the .S files.
This adds imaxdiv() to some archs where it was missing.
2009-07-31 20:39:59 +00:00
dsl
027bacee22
Use a 'register only' str[c]spn() on 64 bit systems.
2009-07-30 21:42:06 +00:00
dsl
f0a25cf095
Stop bcopy.c and bzero.c being compiled
2009-07-30 21:26:36 +00:00
dsl
0d34d14bb9
If SRCS contains any .S files then remove the corresponding .c file from
...
SRCS and add to LSRCS (for lint).
Change the 'string' Makefiles so that the arch/*/string/Makefile.inc
need only specify the .S files for that architecture and not the .c
files for all the files they don't override.
2009-07-30 20:57:15 +00:00
wiz
fa52b0ad23
Bump date for previous.
2009-07-23 13:37:34 +00:00
dholland
3cfdfcef43
Clarify the description of the errno behavior, based on the recent
...
thread in tech-userlevel.
2009-07-23 02:54:27 +00:00
dholland
6687b6883d
Mention, along with the behavior of succeeding system calls, the
...
normal behavior of succeeding library functions regarding errno.
(That is, they may leave arbitrary nonzero values in errno.)
Ok kleink@; related to PR lib/41567 as well as a recent thread on
tech-userlevel.
2009-07-23 02:31:56 +00:00
alc
3831d4ed46
Bump date.
2009-07-22 22:54:15 +00:00
alc
2f42139c8e
Constify the fourth argument of sysctlbtname(3) (ie. `newp', the pointer to
...
the new value).
This change sync sysctl(3) and sysctlbtname(3) prototypes.
No objection on <tech-userlevel>
2009-07-22 22:53:41 +00:00
kleink
9be4603670
Declare strsignal(3) in <string.h>, per POSIX-2008, and adjust
...
documentation accordingly.
Fixes PR standards/41325 from Perry E. Metzger.
2009-07-22 19:48:27 +00:00
wiz
f21bef181d
Add comma in enumeration.
2009-07-22 07:07:27 +00:00
joerg
0578c2ad0f
Move popcount et al to src/common and add popcount32/popcount64.
...
Requested by rmind@. MD should now override popcount32/popcount64 and
provide the aliases as fitting.
2009-07-21 14:55:32 +00:00
wiz
02079c4a1c
Xref popcount(3).
2009-07-21 13:22:15 +00:00
wiz
345d7916c5
Fix typo, add comma in enumeration.
2009-07-21 13:21:41 +00:00
joerg
974b291a6c
Add popcount(3) and the long and long long version. Name is inspired by
...
gnulib, the implementation goes back to the AMD Software Optimizer
guide. A number of platforms will want to replace the C version with
assembler code using native instructions.
2009-07-21 13:18:43 +00:00
joerg
ed9dacacc0
Add HISTORY.
2009-07-21 12:40:52 +00:00
joerg
d6e219476b
Add a fast, platform independent hash function to libc.
...
The algorithm used is the Jenkins hash. The name (mi_vector_hash)
reflects the nature of the hash function.
Add glue for libc ATF tests and include a test case to make sure that
(mis)alignment and endianess are handled correctly.
Bump libc minor to 169.
2009-07-20 17:03:36 +00:00
pooka
c6181c7b2f
Re-add explanation of how to correctly use realloc.
2009-07-20 12:10:03 +00:00
dsl
6dffe8d42b
Remove references to index.c and rindex.c (strchr.c and strrchr.c
...
now provide the definitions).
2009-07-18 09:44:30 +00:00
dsl
32b43c9199
Remove index() and rindex() from the list (in comment)
2009-07-18 09:41:23 +00:00
dsl
03c902aa70
Change all archs so that strchr.[cS] and strrchr.[cS] exist and generate
...
duplicate symbols for index() and rindex().
libc and kernel build ok for affected archs (i386, amd64, vax, sun3,
evbmips-eb) all seem ok.
(vax might lose an asm index() - but comments imply it is worse than the C)
2009-07-17 19:37:54 +00:00
roy
6c5916565e
Allow a buffer of SSIZE_MAX + 1 as the returned bytes do not include the NULL.
2009-07-14 18:29:41 +00:00
christos
cfef64a1a4
pass lint
2009-07-14 17:04:32 +00:00
wiz
9400935da7
Fix typo added in previous.
2009-07-13 22:31:59 +00:00
wiz
06601ed792
The character is NUL, the pointer is NULL.
...
Fix a typo.
It's \-1, not -1.
Add "and getline" in a few places.
Add comma in enumeration.
No dot needed in SEE ALSO.
End sentence with a dot.
2009-07-13 22:30:52 +00:00
roy
d4a3cf6a5a
Add implementations for getdelim(3) and getline(3).
2009-07-13 22:19:24 +00:00
joerg
9d87375b3e
Fix stack alignment for the thread stack. The AMD64 stack has 16 Bytes
...
alignment, but this is active before the return address is pushed onto
the stack. Fixes random crashes in va_start when the SSE registers are
saved.
2009-07-02 09:57:09 +00:00
joerg
c1faa994fd
Reduce diff to makecontext.
2009-07-01 16:54:41 +00:00
wiz
e94ec523a3
Bump date for previous.
2009-07-01 11:25:50 +00:00
mrg
c5cc9dbb54
document RLIMIT_AS. text from freebsd. fixes PR#41517.
2009-07-01 06:01:42 +00:00
wiz
04b11be56d
Mark up NULL with Dv. Remove trailing whitespace.
2009-06-29 08:38:07 +00:00
plunky
fc992f3309
add mention of SO_ACCEPTFILTERS, language largely from FreeBSD manpage
2009-06-29 06:22:13 +00:00
zafer
791f9db912
fix spelling error.
2009-06-24 22:19:14 +00:00
wiz
2518910327
Sort errors.
2009-06-21 18:04:46 +00:00
dholland
6eda430b6b
Fix pastos. From Jukka Salmi in PR 41605, with a very minor adjustment.
2009-06-21 17:52:42 +00:00
yamt
dd8cbf5c36
don't bother to say that some advises are not implemented.
...
ignoring them is a valid implementation.
2009-06-09 11:21:33 +00:00
christos
d9b57d2294
another missing \
2009-06-08 17:18:11 +00:00
christos
d6dbd2857d
remove duplicated line
2009-06-08 17:06:22 +00:00
christos
64ef372149
missing \
2009-06-08 17:00:40 +00:00
christos
d37a1d1b07
sort, add missing, fix section
2009-06-08 16:59:52 +00:00
christos
ecb120d5ca
new resolver functions.
2009-06-08 16:57:09 +00:00
christos
190ebc6a17
merge our changes
2009-06-08 16:55:30 +00:00
wiz
cc8abfac27
New sentence, new line.
2009-06-03 09:04:18 +00:00
wiz
cd10aae286
Bump date for previous.
2009-06-03 09:03:24 +00:00
christos
2a6e000238
add _lwp_makecontext for the vax.
2009-06-03 01:02:28 +00:00
pooka
2ff04dc7a0
document errnos 59 and 71. government denies knowledge.
2009-06-02 13:15:41 +00:00
yamt
cef9767a7a
don't describe internal details.
2009-06-01 22:04:54 +00:00
njoly
7e10d34f2a
Note that fcntl(2) returns EINVAL for invalid command.
2009-06-01 09:56:06 +00:00
yamt
99122f39e6
qsort: remove the "switch to insertion sort" optimization because it
...
causes catastrophic performance for certain inputs.
2009-06-01 06:37:40 +00:00
yamt
8a29be6be3
fix NULL dereferences in the compat versions of getpwent, getpwnam,
...
and getpwuid.
2009-06-01 06:04:37 +00:00
joerg
09d5d44150
Add SHA224 implementation to libc.
...
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.
2009-05-26 08:04:11 +00:00
ginsbach
48dc241150
Crank date for previous.
2009-05-24 02:30:17 +00:00
ginsbach
98fa92ea04
Add %s to strptime(3) to make symmetric with strftime(3).
2009-05-24 02:25:43 +00:00
christos
7966578116
remove stray comma, from anon ymous.
2009-05-23 18:57:25 +00:00
wiz
f6b43a0c43
Markup improvements. No need to mark up numbers as defined values, math
...
did the definition for us ages ago. Make HTML-ready.
2009-05-21 09:13:35 +00:00
christos
fd67370208
mention that these functions return 0 and set errno to ERANGE on invalid base.
2009-05-20 22:01:34 +00:00
wiz
b746c978a5
Sort errors.
2009-05-18 14:51:55 +00:00
wiz
caea0adcf4
Sort SEE ALSO.
2009-05-18 14:49:35 +00:00
wiz
5d3d6cd4cc
Sort errors.
2009-05-18 13:56:05 +00:00
wiz
ae1f36f738
Punctuation nit. Remove superfluous .Pp.
2009-05-18 12:40:21 +00:00
wiz
b18f60f11c
Fix typo in Dd argument. Remove superfluous .Pp.
2009-05-18 12:39:17 +00:00
wiz
6ece1e04b0
Fix typo in Dd argument.
2009-05-18 12:37:28 +00:00
wiz
7f3775f247
Bump date for last effective change.
2009-05-18 09:28:51 +00:00
wiz
282b14962b
Bump date for last effective change (2008).
2009-05-18 09:02:35 +00:00
wiz
5dd21e58d5
Grammar fix.
2009-05-18 09:00:02 +00:00
jakllsch
6a0e3cf139
Update MLINKS to match the flist.
2009-05-15 02:23:42 +00:00
ginsbach
c8da0e5fef
Add the getdate(3) function and getdate_err value, conforming to IEEE
...
Std 1003.1 (``POSIX.1'') and the Open Group Base Specifications X/Open
System Interfaces extension (``XSI'').
2009-05-14 02:37:35 +00:00
wiz
7d88f2f54f
Revert parts of v1.25 (jemalloc):
...
Re-add RCS Id, remove superfluous .Pp, join line, comment out limits(1) xref.
2009-05-13 23:02:11 +00:00
wiz
504d66e756
Sort errors. Avoid marking up punctuation.
2009-05-13 12:51:13 +00:00
christos
df369aba80
Change Kmax so we allocate enough freelist entries to handle large field
...
numbers. Reported by Maksymilian Arciemowicz
2009-05-07 20:31:44 +00:00
wiz
3ae928cec9
Improve formatting and punctuation for "NUL-terminate".
2009-05-02 09:37:32 +00:00
wiz
1de194650d
Sort sections.
2009-05-02 09:31:08 +00:00
wiz
f6d35c037f
Remove duplicate entry.
2009-05-02 09:31:01 +00:00
wiz
15dfd8155b
Drop trailing whitespace.
2009-05-01 21:34:45 +00:00
ginsbach
8f7e60d3bc
Extend %z to support all RFC-2822 timezone formats.
2009-05-01 20:15:05 +00:00
perry
be11851995
Add versions of stpcpy(3), stpncpy(3), strnlen(3), all from FreeBSD.
...
These are defined in the latest POSIX
Also make related updates to documentation, mostly from FreeBSD,
though I cleaned a few other things up along the way.
Bump shlib_version.
We are still missing strcoll_l, strerror_l, strsignal, strxfrm_l to be
POSIX conformant.
2009-05-01 17:27:01 +00:00
dyoung
46db29bcf1
Bring getifaddrs(3) behavior in line with the documentation: the
...
ifa_data member of every AF_LINK struct ifaddrs points at the
corresponding struct if_data. In ifconfig(8), do not try to suppress
duplicate AF_LINK ifaddrs by checking for a NULL ifa_data.
Don't copy out two AF_LINK struct ifaddrs for each active link-layer
address. getifaddrs(3) used to copy out one ifaddrs for the kernel's
RTM_IFINFO message, and one more for the kernel's RTM_NEWADDR message.
I suppress the first duplicate with a highly conservative change that
wastes a little bit of ifaddrs storage. The storage is not leaked.
2009-04-27 20:10:49 +00:00
christos
3c2585b945
correct cast to size_t.
2009-04-23 22:09:23 +00:00
agc
9c3b1325df
Cast the arg to an unsigned value to let this compile
2009-04-23 03:49:39 +00:00
lukem
b129d71a05
Fix -Wcast-qual issue
2009-04-23 01:39:47 +00:00
njoly
41f89f9e08
Include string.h for memset prototype.
2009-04-22 21:52:59 +00:00
christos
0f03f83ae4
Avoid information leaks by zeroing memory, from FreeBSD (we had done some
...
already)
2009-04-22 18:44:06 +00:00
wiz
48f171ac9f
Mark up NULL. New sentence, new line. Bump date for previous.
2009-04-22 07:26:52 +00:00
dyoung
c378e7997c
For non-AF_LINK ifaddrs, ifa_data is NULL. AFAICT, this has always been
...
so. Say so in the documentation.
2009-04-21 23:27:09 +00:00
joerg
c4cbdd8e8a
Convert to mdoc markup.
2009-04-21 14:46:02 +00:00
christos
2cca8c559f
Bring back binary compatibility with the previous version of the resolver.
...
There was no room to allocate 16 bytes for _rnd in the struct in the _LP64
case, so we dynamically allocate now. Also put the _rnd field last, so that
we are bitwise compatible too. Now of course we've run out of space, so
next time will need to perform more evil tricks to fit.
2009-04-20 14:42:12 +00:00
wiz
51004b901f
Remove duplicate 'the' found by Jukka Salmi.
2009-04-20 08:37:22 +00:00
mrg
fc2793ab5b
add some code to cope with dev.db's that have 32 bit time_t's in them.
...
shouldn't be relevant very much as dev.db should be re-created at boot,
but it helped me at least twice so far...
2009-04-19 10:19:26 +00:00
wiz
8b5179c21c
Add CAVEATS section:
...
Due to limitations in the current pthread implementation, makecontext(3)
and sigaltstack(2) should not be used in programs which link against
libpthread (whether threads are used or not).
Wording from drochner@ and ad@
Bump date for man pages.
Add note in libpthread/README so it's not forgotten to update the man
pages when the problem is fixed.
2009-04-16 18:37:29 +00:00
christos
1408cbc26a
we are not guaranteed that the ext pointer is going to be null at this point
...
so don't attempt to free.
2009-04-16 14:56:51 +00:00
christos
50ce2a6bdf
fix lint issues and actual bugs lint found (missing break statements)
2009-04-12 19:43:37 +00:00
christos
59a755a40f
merge libbind and bump.
2009-04-12 17:07:16 +00:00
christos
c6497e5b5f
libc portion of libbind from external/bsd/libbind
2009-04-12 16:35:44 +00:00
lukem
83f6c8b3a4
fix -Wcast-qual issue
2009-04-12 14:20:19 +00:00
christos
497a527565
make this work properly, by moving to the end of the buffer before starting
...
the search.
remove clauses 3 + 4.
2009-04-11 21:42:16 +00:00
joerg
59ba3c43a4
-width needs an argument, so provide one.
2009-04-11 20:39:15 +00:00
joerg
9a790c1d7e
Add missing .Re.
2009-04-11 20:14:35 +00:00
wiz
73bfbb6953
Improve markup.
2009-04-11 16:58:21 +00:00
joerg
868fe66e65
Add missing quotes.
2009-04-11 16:29:09 +00:00
joerg
71c479831e
Fix markup.
2009-04-11 16:13:49 +00:00
joerg
3d2415a28f
Fix markup.
2009-04-11 16:03:29 +00:00
joerg
aa21536cc0
Remove .IP, it doesn't change output.
2009-04-11 15:55:28 +00:00
joerg
d749557c31
Fix markup.
2009-04-11 15:51:44 +00:00
joerg
0cc93fa086
Use semantic markup.
2009-04-11 15:44:42 +00:00
joerg
746b955e9e
Fix markup.
2009-04-11 15:33:27 +00:00
joerg
592c0f8761
Remove reundant quote.
2009-04-11 15:32:03 +00:00
joerg
79c74bd3c8
Fix markup.
2009-04-11 15:30:49 +00:00
wiz
24e269dafa
Split Nm over two lines.
2009-04-10 23:24:35 +00:00
christos
5207347451
Add a special lint stub for __sigaction14 which broke when we switched
...
to sigaction_sigtramp.
2009-04-10 23:14:58 +00:00
christos
d4bf2b400d
take the opportunity of the glob_pattern_p and add memrchr.
2009-04-10 23:14:07 +00:00
christos
3cf907e2b2
add memrchr
2009-04-10 23:13:38 +00:00
ad
4caa909fff
softdep is gone
2009-04-10 22:26:10 +00:00
joerg
65a94a80fd
Fix markup
2009-04-09 00:06:44 +00:00
joerg
58ad7418e8
No .br after .Sh.
2009-04-09 00:04:34 +00:00
wiz
68bd1a898e
Link glob(3) to glob_pattern_p(3).
2009-04-08 19:28:48 +00:00
wiz
c2c2c34d00
Add glob_pattern_p to NAME section.
2009-04-08 19:27:39 +00:00
christos
1ef020be5f
add glob_pattern_p for glibc because cvs needs it and it is a huge mess
...
to compile in the gnu glob code.
2009-04-08 16:28:50 +00:00
christos
3b4cda0de7
PR/41138: Henning Petersen: Redundant declarations in rpc_internal.h
...
While here remove __P, KNF.
2009-04-04 15:31:08 +00:00
drochner
c4bdad9349
fix typo in sigevent defaults
2009-03-26 16:55:37 +00:00
wiz
01959862b8
Sort SEE ALSO.
2009-03-25 06:46:21 +00:00
dholland
ecb714dc77
Update the note about sync returning before buffers are written: it is a
...
piece of historical behavior, not a current bug. Also, while here, add a
bit about disk write-back caches and point to dkctl/scsictl.
Bump date. (first time since 1993!)
2009-03-25 05:32:52 +00:00
drochner
a75975a121
minor fix in description of an error condition
2009-03-24 22:34:54 +00:00
joerg
4b3b61f0a1
Remove/convert physical markup.
2009-03-23 14:11:27 +00:00
joerg
cc420b6c04
ANSIfy. Remove conditionals around __RCSID.
2009-03-20 14:05:54 +00:00
joerg
cc5989d71d
ANSIfy. Remove conditional macros around __RCSID.
2009-03-20 13:56:57 +00:00
joerg
c2d267f257
Remove redundant markup as .Bl does vertical spacing already.
2009-03-15 09:31:07 +00:00
joerg
fd0a2075ae
Fix markup.
2009-03-15 09:26:07 +00:00
joerg
854ee47087
Declare all columns.
2009-03-15 08:05:22 +00:00
joerg
af1b54d7d6
Fix markup of cross reference.
2009-03-15 08:04:12 +00:00
joerg
6edb9354b8
".The" is not a valid macro, fix up.
2009-03-15 08:02:02 +00:00
joerg
9df66b68e0
Explicitly mark : as literal, use Pq.
2009-03-12 12:51:29 +00:00
joerg
441cf5a9bb
Replace physical markup with .Bl -column.
2009-03-12 12:50:31 +00:00