summaryrefslogtreecommitdiffstats
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* junk spacederaadt2009-04-291-1/+1
|
* fix scalbn, scalbnf, frexpf on amd64. don't use double argmartynas2009-04-252-10/+16
| | | | | | | | | | float/double prologue/epilogue, since the second argument is not float/double. were never working properly (always returned inf). actually, should help other math funcs (like pow) too, since they use it internally tested by kurt@; devel/boost fp regresses are working better now. ok kurt@
* Correct the declaration of the dladdr() stub so that it has the correctguenther2009-04-221-3/+5
| | | | | | lint information originally ok'ed deraadt@ right before the 4.5 tree lock
* alias and give frexpf symbol external linkage to scalbnf; this wasmartynas2009-04-212-2/+8
| | | | | | | | overriden by md source. spotted by kurt@ actually; on amd64 scalbnf, scalbn (and therefore now frexpf) have always been broken since second argument is not float. fix is under reviewal / will be committed separately ok kurt@, kettenis@, millert@. tested by kurt@
* no need to install includes from here anymorederaadt2009-04-211-6/+1
|
* move src/lib/libsndio/sndio.h into src/include where other includeratchov2009-04-211-152/+0
| | | | | | files leave. requested by deraadt@, ok miod@
* Increase default thread stack size to 256K on 32bit archs and 512K onkurt2009-04-212-4/+13
| | | | | 64bit archs to accommodate the growing number of ports that put large buffers on the stack. Supported by many with no objections.
* remove from gen so that lint doesn't check gen if assembly versionsmartynas2009-04-2113-28/+29
| | | | are available. spotted by theo
* make ldexpf behavior consistent with the double and extended-precisionmartynas2009-04-194-72/+10
| | | | | | versions; spotted by kettenis@ while here also remove unused ldexp; it lives in libc ok kettenis@, "looks good" millert@
* - ldexp implementation has issues. switch to the one from libmmartynas2009-04-1930-3013/+162
| | | | | | - remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@
* allow building without SHA384 and SHA512 (i.e. SHA256 only) withdjm2009-04-151-2/+5
| | | | -DSHA256_ONLY in order to save space; ok deraadt@
* Add gcj java class registration hooks for gcc3 elf archs. From NetBSDkurt2009-04-138-8/+98
| | | | | | with minor differences. okay kettenis@ drahn@
* protypes in sndio.h make reference to struct pollfd; applicationsratchov2009-04-131-1/+3
| | | | | | | that don't use sys/poll.h, wont compile with gcc2. Fix this by declaring the pollfd structure spotted by and ok deraadt
* document that no leading whitespace is permitted between the option andokan2009-04-121-3/+5
| | | | | | argument if the argument is deemed to be optional ('::'). feedback and ok jmc@ and millert@
* honor MSG_DONTWAITjakemsr2009-04-112-2/+4
| | | | ok marc@, guenther@
* in the old days compiler could not convert decimal constantsmartynas2009-04-1114-306/+82
| | | | | | | | | | accurately, hence the tricks in libm, using machine representation of constants. remove kludges and switch to use decimal constants, much simplifying the code. since, the compiler converts them accurately. generated values match on vaxfp discussed with millert@, and miod@ testing todd@, and myself ok millert@
* lrint, llrint, lrintf, llrintf for amd64. ok kettenis@, oga@martynas2009-04-105-1/+50
|
* resync libssl/libcrypto pod documentation - quite a few more pages anddjm2009-04-101-27/+242
| | | | MLINKS; feedback and ok jmc@
* missing rcs ids; spacingmartynas2009-04-084-18/+19
|
* remove i386/x86_64 ifdefs. i386 lives @ i387. miod@ agreesmartynas2009-04-0811-183/+10
| | | | object code matches so this got to be oki
* fix hexadecimal constant that was wrong; and confused with ieee. ok miod@martynas2009-04-081-2/+2
|
* teach libpcap about scrub ruleshenning2009-04-061-2/+4
|
* crankus majorisdjm2009-04-063-3/+3
|
* resolve conflictsdjm2009-04-0679-245/+430
|
* import of OpenSSL 0.9.8kdjm2009-04-0672-248/+33426
|
* accept %F, which actually behaves the same as %f. per C99martynas2009-04-052-4/+5
| | | | ok millert@
* implement and use sqrt, sqrtf & fabsf in hardware; since it'smartynas2009-04-054-1/+89
| | | | faster that way. tested by myself. discussed w/ & ok miod@, millert@
* this is not a write-only register. might have caused to optimizemartynas2009-04-051-2/+2
| | | | it away. ok miod@
* const static -> static const; since it's deprecated per C99. ok millert@martynas2009-04-057-24/+24
|
* Mop up after oga@ and unbreak the tree. The direct uncached map is gone sokettenis2009-03-301-6/+1
| | | | remove the code from libkvm that dealt with it.
* add C99-conformant nan, nanf, nanl for vax. always return zero,martynas2009-03-282-2/+31
| | | | | since its fp does not have distinguished values for qnans. tested by naddy@; fixes libnova. ok theo
* document superuser requirements, with input from jmc@espie2009-03-281-2/+8
|
* supplement previous: add /etc/netid to FILES section; ok jmc@, ajacoutot@schwarze2009-03-271-1/+3
|
* getgrouplist: If YP is #defined and enabled in /etc/group(5) and /etc/netid(5)schwarze2009-03-273-70/+137
| | | | | | | | | | | | | | contains a matching entry, use that and refrain from accessing YP. getpwnam/getpwuid: If YP is #defined and /etc/master.passwd(5) contains a matching entry before the first YP entry, use that and stay away from YP. Taken together, this allows a solution to the following problem pointed out by deraadt@: When YP was configured but temporarily unavailable, even root login would block, hindering you when trying to do repairs. To avoid this, you can now provide a static entry for root in /etc/netid. Using suggestions from miod@ otto@ blambert@ jmc@. "commit" deraadt@, "cool" ajacoutot@, "looks fine" jmc@.
* add a HISTORY section to fts(3).sobrado2009-03-231-2/+9
| | | | | | | diff proposed by an anonymous user on bugs@; tweaked by jmc@; verified using the superb 4BSD collection at pdp-11.org.ru (thanks form@). ok jmc@
* Return -1 from mktemp_internal() on EINVAL like we used to.millert2009-03-201-3/+3
| | | | OK oga@ thib@
* correct argument type for swap64(); from Thomas Pfaffjmc2009-03-171-3/+3
|
* Work-around a gcc3 -g bug causing debug ld.so to crash.kurt2009-03-062-4/+4
| | | | okay kettenis@ drahn@
* Add glob(7) and refer to it. OK jmc@ sobrado@millert2009-03-052-6/+8
|
* Update to match mktemp.c changesmillert2009-03-011-4/+4
|
* New mktemp(3) based on the one from portable mktemp(1). Now includesmillert2009-03-011-89/+88
| | | | | | | digits (in addition to letters) in the random file name. Instead of looping forever, mktemp(3) will terminate when it has tried 2 * N^62 times where N is the number of X's. This is effectively forever for lots of X's.
* don't use ``hdl->filling'' flag uninitializedratchov2009-02-261-1/+2
| | | | ok deraadt
* after the STOP message is sent, move the receiver to the RMSG stateratchov2009-02-251-3/+5
| | | | | | | only if it's in the IDLE state, otherwise in some rare cases a data chunk may be interpreted as a message, causing the connection to be dropped. ok deraadt
* thrsigdivert() takes a sigset_t, not a pointer to one. Detected byguenther2009-02-202-4/+4
| | | | | | finally reading the lint warnings (sigh) ok tedu@
* apparently all the other libraries get linted, so I'll just have to live with ittedu2009-02-201-2/+2
|
* Fix a race in the reaper discovered by Tobias Ulmer. kevents are identified by pid,tedu2009-02-201-2/+3
| | | | | | | | so in the event that two threads get the same pid in a row, as the second is dying it will update (not add) the kevent for the previous thread with its own stack, which it will then unmap soon after, which is bad. Doing the reaping first guarantees that there are no kevents with the same pid as the exiting thread when it registers itself. ok guenther kurt
* the lint warnings are more annoying than anything else. we already have a full set of warnings from the compilertedu2009-02-201-2/+2
|
* Add missing braces. This is why we use braces for indented block thatmillert2009-02-181-2/+3
| | | | are more than a couple of lines...
* in aucat_stop(), after the STOP message was send, put the receiverratchov2009-02-181-1/+3
| | | | | | in ``waiting state'', otherwise the ACK message will be skipped, and the other functions not expecting ACKs might be confused by the ACK.
* when the template is entirely XXX characters, would crashderaadt2009-02-171-4/+6
| | | | | from Vadim Zhukov <persgray@gmail ok millert