Commit Graph

15218 Commits

Author SHA1 Message Date
christos
80e86efb1f constify. 2011-10-02 18:18:14 +00:00
christos
a92b0ce490 don't use %edi! 2011-09-30 23:45:41 +00:00
christos
6dd90d6d37 make rounding work 2011-09-30 23:42:00 +00:00
jym
afca4e3b49 Fix an implementation inconsistency with the prop_*_send_syscall() and
prop_*_recv_syscall() functions from proplib(3). They now share the
same logic as the one from prop_*_send_ioctl() functions:
- returns an int
- 0 indicates "no error", otherwise returns the error number (and
set errno)

Many consumers of the prop_*_{ioctl, syscall} expect errno to be set
on error and use err() to display the error message. As such, ensures that
errno gets set before returning from these functions.

prop_*_send_syscall() functions returned a boolean, and now return an int.
Fix all call sites to use the new paradigm (only quota2 is affected in src).

As the prop_*_{send,recv}_syscall() API appeared in -current and is only
used by the recent quota2 code, I am not bumping the lib. The API change
only affects the prop_*_send_syscall() function (recv_syscall()s were
already used correctly), so ensure you are not mixing "old" -current
quota binaries with a new proplib(3) (or the other way around). This
change will be announced via a HEADS-UP and UPDATING.

Does not affect the kernel part of proplib.

Document the correct API in prop_array(3) and prop_dictionary(3).

Thanks to Francois Tigeot for noticing the API inconsistency and
reporting it on tech-kern@.

ok bouyer@.
2011-09-30 22:08:18 +00:00
christos
26ca52544d PR/44293: Paul Goyette: Fix the mess of the rounding code. 2011-09-30 17:42:34 +00:00
christos
64eddf5284 even simpler. 2011-09-29 22:55:45 +00:00
christos
cfa5bcb221 even shorter 2011-09-29 22:53:13 +00:00
christos
cfb62a8b7a add a simpler version 2011-09-29 22:46:00 +00:00
christos
38179c4fc2 add a simpler version. 2011-09-29 22:45:20 +00:00
christos
41d70a0317 Instead of using a PICGOT relocation for map, use just a pc-relative one
since it is guaranteed to be close enough. Fixes issue with binutils-2.21.1a
(probably a bug).
2011-09-28 15:11:42 +00:00
christos
f02b490980 include <wchar.h> if we don't have wcsdup() 2011-09-28 14:08:04 +00:00
mrg
f5aeae98ef add libgomp to this list of libs; so compat finds it properly. 2011-09-23 07:12:10 +00:00
christos
4e692bff8b document what size is. 2011-09-22 18:21:58 +00:00
njoly
a7999336ff In functions list, switch from tab characters to Ta macro. Makes
nroff properly handle xrefs.
2011-09-22 18:14:09 +00:00
joerg
39079c5f77 Explicitly add back __resumecontext wrapper 2011-09-20 08:42:29 +00:00
joerg
0a2b758384 Mark _resumecontext as dead. ANSIfy all declarations for it. 2011-09-19 21:24:57 +00:00
christos
0786f153d9 bump for hcreate_r and friends 2011-09-18 23:57:06 +00:00
njoly
f18fdd46cc Fix a few xrefs. 2011-09-18 10:58:28 +00:00
jruoho
11f8ac704b Remove BUGS as per joerg@'s objection. 2011-09-18 05:33:13 +00:00
christos
fb9e5ffdea remove the advertising clause so it can be used by the OpenJDK. 2011-09-17 16:54:39 +00:00
wiz
51f391f530 Convert to mdoc. 2011-09-17 13:28:51 +00:00
jruoho
20aafc300b Remove rest of the NOTES and ERRORS and references to pow(3) family. 2011-09-17 10:52:52 +00:00
jruoho
a6e1d3b208 Split out pow(3) from exp(3). 2011-09-17 10:51:52 +00:00
christos
369862dcef Never invoke utmp_update() recursively if we are root. Instead close the
read-only file so it can be opened later. It can happen when a setuid
program utmp_update, seteuid(ruid) -> getutxent() -> seteuid(0) -> pututxent()
2011-09-17 01:52:29 +00:00
christos
cc9ecc5e39 PR/45370: Takehiko NOZAKI: termcap emulation tget{flag,num,str} should
work with non-NUL terminated strings.
2011-09-16 18:51:44 +00:00
plunky
2b8aaed8cd NULL does not need a cast, here 2011-09-16 16:13:16 +00:00
joerg
67f518f496 Use __dead 2011-09-16 16:05:58 +00:00
plunky
60e46d9178 when printing URLs, don't use VIS_HTTPSTYLE as it doesn't
really do what I expected.
2011-09-15 17:51:57 +00:00
wiz
72e0f90c3f Remove trailing whitespace. Bump date for previous. 2011-09-15 12:01:18 +00:00
blymn
d3c541783a - Make mvderwin work as per the SUSv2 specification and other curses
implementations.
2011-09-15 11:58:05 +00:00
wiz
19ea2ccd09 Various fixes, mostly missing words or letters. 2011-09-15 09:14:54 +00:00
christos
05845f985a add re-entrant versions of the hash functions based on the GNU api. 2011-09-14 23:33:51 +00:00
christos
e375a9464f more sys/param.h additions 2011-09-14 12:37:55 +00:00
apb
f29014459b There's no st_block field; it's st_blocks. 2011-09-14 11:49:21 +00:00
njoly
85ae540813 Kill empty Dv macro. 2011-09-14 11:43:29 +00:00
christos
80867328b8 Include <sys/param.h> for MAXPATHLEN 2011-09-13 19:11:09 +00:00
christos
76389f09e9 fix non-portable shift. 2011-09-13 19:10:18 +00:00
wiz
810ed21852 Sort sections. 2011-09-13 08:53:15 +00:00
wiz
267db0c546 Fix Xr. 2011-09-13 08:53:10 +00:00
wiz
45c370fce8 Fix Dt. 2011-09-13 08:51:32 +00:00
njoly
d7d196e168 Add missing El macro. 2011-09-13 07:28:30 +00:00
njoly
fab32cf3a1 Remove xrefs to ieee(3) man page which does not exists anymore. 2011-09-13 07:11:43 +00:00
jruoho
6fd7775f29 Split out the logarithm functions from the perplex exp(3). Also remove some
useless notes in the latter (namely, no one cares that financial calculations
were done on Hewlett-Packard HP-71B, or that there is a LN1() in Pascal).
2011-09-13 05:26:47 +00:00
christos
8171e48bf4 doc for kvm_getkernelname 2011-09-12 21:11:53 +00:00
christos
b8c5a24416 add a function to report the name of the file kvm_open{,.files} is using. 2011-09-12 21:11:31 +00:00
wiz
43675611fd Fix special chars and spacing in previous. 2011-09-12 17:08:22 +00:00
jruoho
82f75e1495 Improve and update. Also note again the lack of tanhl() in NetBSD. 2011-09-12 16:08:42 +00:00
jruoho
bc80f14d3c Update and improve, and note that the long double variant is not supported. 2011-09-12 14:44:27 +00:00
jruoho
b43f95128d Note memoryallocators(9) in this perhaps too generally named page. 2011-09-11 10:05:23 +00:00
jruoho
b55748a5cc It is not just funopen(3) that is a BSDism. 2011-09-11 07:37:06 +00:00