wiz
560b21b44e
Fix a typo.
2011-04-28 11:56:26 +00:00
wiz
dbd13d8219
Spelling.
2011-04-28 11:22:44 +00:00
martin
d21307a5d2
Fix offsets used in the assembly code to save global registers into a
...
jmp_buf, add a compile time assert to catch this kind of divergence
in the C code.
Move the fixed "%npc = %pc + 4" computation to longjmp, this frees
the sigcontext sc_npc value. Use this space to save the savemask
for siglongjmp (we have run out of space behind the globals).
Fixes the tests/lib/libc/setjmp/t_threadjmp tests, and also hopefully
fixes PR port-sparc64/44902.
2011-04-27 21:08:48 +00:00
wiz
3f4e964f9f
Sort errors.
2011-04-25 22:38:34 +00:00
enami
9aed075519
- Put empty line after the local variable definition in the sample code
...
to improve readability.
- Remove indirection operator to clarify error condition.
2011-04-20 23:37:51 +00:00
christos
57ddf70a57
sync with reality (prototype of open is varyadic)
2011-04-20 19:57:58 +00:00
christos
4957358ed5
Correct check for snprintf() overflow via Maksymilian Arciemowicz from FreeBSD.
...
(the bt one was ok, but set errno and make it the same for consistency).
[to be pulled up]
2011-04-17 23:12:38 +00:00
jruoho
ff8dfca355
Xref tm(3).
2011-04-14 05:50:49 +00:00
jruoho
b29fd93227
Collect also the division functions to single place, div(3).
2011-04-13 07:12:52 +00:00
jruoho
19606f522d
Collect abs(3), labs(3), llabs(3), and imaxabs(3) to a single small page.
2011-04-13 06:56:50 +00:00
jruoho
2ba8acef07
Fix another bug (no 'imaxint_t' type).
2011-04-13 06:41:11 +00:00
jruoho
5bbfa36d7b
Fix obvious bug.
2011-04-13 06:35:48 +00:00
jruoho
e615e396bd
Split out FUNCTIONS to make this tolerable to read. Also improve readability
...
with lists. Describe the functions in the order of appearance in SYNOPSIS.
Use CAVEATS instead of NOTES. Remove "man page spam". Etc.
2011-04-12 13:46:38 +00:00
jruoho
72e27957d4
Xref tm(3).
2011-04-12 08:40:34 +00:00
jruoho
47a900e8bc
Move some of the discussion from the messy ctime(3) to tm(3).
2011-04-12 08:39:26 +00:00
jruoho
8ee666bc1f
.Dv NULL.
2011-04-12 05:41:22 +00:00
jruoho
28629a5be1
Use RETURN VALUES rather than DIAGNOSTIC for... return values.
2011-04-12 04:55:05 +00:00
mrg
e9f4b70f7d
rm -f ${.TARGET} before trying to > write to it; some how mine ended up
...
being mode 444 and the build failed.
2011-04-12 03:35:47 +00:00
jruoho
32e685d288
Markup improvements.
2011-04-11 05:59:11 +00:00
wiz
a4af43db58
exec is on a higher plane of existence.
2011-04-11 00:21:45 +00:00
christos
a87c855671
Document O_CLOEXEC.
2011-04-10 15:46:15 +00:00
christos
037499057e
make infinityl match what gdtoa thinks.
2011-04-10 13:51:18 +00:00
matt
14d704c9e9
Add a workaround for older crt0.o that overwrite r2 (tcb pointer).
...
(save tcb pointer using _lwp_setprivate in ld.elf_so and retrieve the tcb
via _lwp_getprivate in libc and use it to restore the value in r2).
2011-04-07 02:19:28 +00:00
christos
962e9ad63f
fix long double infinity.
2011-04-06 21:55:36 +00:00
jruoho
cbe6dc2e1c
Use .Fn for functions.
2011-04-04 08:00:53 +00:00
christos
8056bccd98
Protect against stack smashes (Maksymilian Arciemowicz)
2011-04-03 22:14:15 +00:00
jruoho
dc9fc4f125
.Xr uvm_map_protect, not .Fn.
2011-04-03 06:54:30 +00:00
jruoho
f364f2ef05
Offset indent.
2011-04-03 06:05:21 +00:00
jruoho
132da5fb56
Offset indent.
2011-03-31 07:52:34 +00:00
jruoho
88d19f0f7c
.Li -> .Em.
2011-03-30 16:41:00 +00:00
jruoho
d1a07d838a
+ .Pp.
2011-03-30 16:37:09 +00:00
jruoho
423f8d7704
Improve -width.
2011-03-30 16:29:26 +00:00
jruoho
29a43bf561
From Henning Petersen in PR # 44641: C99 primitive type 'bool' used
...
as a variable name. Also small KNF, as in FreeBSD.
2011-03-30 08:22:01 +00:00
jruoho
cb0f983e60
Improve -width.
2011-03-29 18:54:54 +00:00
martin
ecf8c9b0f0
ABI police: avoid cluttering global registers %g2 and %g7. Not quite there
...
yet for %g2, but the target is not very well defined. %g7 should be clean
now.
2011-03-28 11:19:12 +00:00
wiz
7091eebfa9
Whitespace and punctuation.
2011-03-27 22:55:07 +00:00
he
08a8bf5254
Fix this so that it builds for vax; where the compiler balks at the
...
mixture of a union and a double in an expression (imagine that!)
I see other similar uses, and how they pass through for other ports
is beyond me, but I have not touched them in this round.
OK'ed by christos@
2011-03-27 11:21:54 +00:00
christos
2587e6e437
add fpgetprec/fpsetprec
2011-03-26 19:51:41 +00:00
njoly
82815469fb
Add quotes for multi-words width string.
2011-03-25 17:15:26 +00:00
joerg
6c7179c5fb
Remove support for the old BSDCTYPE format.
2011-03-25 00:45:24 +00:00
dholland
8ba9dddb47
Eliminate dead store. From Henning Petersen in PR 42776. Doesn't change
...
the output .o file.
2011-03-24 02:29:33 +00:00
martin
d2c615416b
Avoid using %g7
2011-03-23 20:54:35 +00:00
martin
0c3a269fd8
Remove the sparc-v7 compatibility wrapper functions (.div, .mul, ... .urem),
...
the compiler never generates (or did generate in the past) 64bit code to call
them, and they are still present in our 32bit compat library.
2011-03-22 12:24:53 +00:00
enami
df36fea7b7
Don't use #endif where #else is expected.
2011-03-21 23:37:42 +00:00
christos
2b13247b7f
pacify lint.
2011-03-21 22:33:46 +00:00
christos
a9f77bad7a
Add Emin for the vax. Need to check
2011-03-21 22:33:29 +00:00
christos
ab9f1e36c8
fix vax typo.
2011-03-21 19:46:41 +00:00
christos
374ecd4b4c
more de-linting.
2011-03-21 12:53:50 +00:00
christos
a23ced05b4
fix some lint on i386
2011-03-21 04:52:09 +00:00
jruoho
e1897fd6ba
Fix xref; security(8) -> security(7).
2011-03-21 04:42:50 +00:00