summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix EOVERFLOW detection in vswprintf(3)fjoe2005-02-211-4/+5
| | | | | Reviewed by: tjr MFC after: 2 weeks
* Use hardware instructions for sqrt() and sqrtf().das2005-02-213-0/+69
|
* Use double arithmetic instead of simulating it with two floats. Thisdas2005-02-211-13/+8
| | | | | | | results in a performance gain on the order of 10% for amd64 (sledge), ia64 (pluto1), i386+SSE (Pentium 4), and sparc64 (panther), and a negligible improvement for i386 without SSE. (The i386 port still uses the hardware instruction, though.)
* Remove the i387 versions of atan(), atan2(), and atan2f().das2005-02-214-106/+3
| | | | | | | They are slower than the MI routines on modern hardware, except for degenerate cases such as the Pentium 4. PR: 67469
* Remove i387 versions of asin() and acos(). Although the hardwaredas2005-02-203-112/+1
| | | | | | | | instruction was faster on the 486, it's slower than our MD version on modern processors. Determined by: bde PR: 67469
* Remove the float versions of the i387 trig functions obtained fromdas2005-02-204-48/+2
| | | | | | | | NetBSD. They're buggy, giving particularly for inputs larger in magnitude than 2**63. Noticed by: bde PR: 67469
* Somewhere along the line, tick accumulation for SA threads wasdeischen2005-02-182-2/+2
| | | | | | | changed to use the statclock. Make sure we calculate the value of a tick correctly in userland. Noticed by: Kazuaki Oda <kaakun at highway dot ne dot jp>
* Fix a memory leak: when freeing the connection structure, don't forget todes2005-02-161-0/+1
| | | | | | | free the connection buffer as well. PR: bin/76153 MFC after: 1 week
* Set TCP_NOPUSH on HTTP requests, reducing the number of round-tripskbyanc2005-02-161-1/+9
| | | | | | necessary to establish each connection. MFC after: 2 weeks
* Set the default guardsize and stacksize in the default threaddeischen2005-02-152-0/+4
| | | | attribute when the library is initialized.
* Expand contractions.ru2005-02-152-2/+2
|
* Fix typo.stefanf2005-02-141-1/+1
| | | | Submitted by: Antoine Brodin
* Use socklen_t.stefanf2005-02-141-5/+5
|
* - Use socklen_t.stefanf2005-02-141-2/+1
| | | | - No need for two instances of 'num'.
* Fix most cases where the address of an int is passed to a function expecting astefanf2005-02-142-3/+2
| | | | socklen_t * argument.
* . Convert return type of gai_strerror() to 'const char *' as POSIX requires.phantom2005-02-141-29/+21
| | | | | . Convert ai_errlist[] to simple 'char *' array, and appropriately optimize gai_strerror()
* EAI_ADDRFAMILY and EAI_NODATA are obsoleted, and not definined anymore,phantom2005-02-141-7/+0
| | | | so do not export these definitions via manual page
* Remove file no longer in 8.13.3gshapiro2005-02-141-1/+1
|
* Expand contractions.ru2005-02-1311-16/+16
|
* Fix a buffer overflow in the "none" decompression handler thatkientzle2005-02-132-68/+76
| | | | | | occurred with large read-ahead requests. This only affected formats that incorrectly make large requests (ZIP did this until recently) or with block sizes over 32k.
* who's -> whoseru2005-02-131-1/+1
|
* Expand *n't contractions.ru2005-02-1335-60/+60
|
* Increase the default stacksizes:deischen2005-02-138-18/+44
| | | | | | 32-bit 64-bit main thread 2MB 4MB other threads 1MB 2MB
* Use the correct variable name in ibsad()scottl2005-02-131-1/+1
|
* Check handle types.phk2005-02-121-3/+3
| | | | | Implement more device functions. Make DMA optional.
* Oops. I missed a 0 => '\0' correction.kientzle2005-02-122-2/+2
| | | | Thanks to: Ruslan
* Clear the error message buffer on entry to major routines.kientzle2005-02-121-0/+3
| | | | This avoids having error messages get concatenated over multiple calls.
* Update the format descriptions to include ISO9660 and ZIP support.kientzle2005-02-123-4/+19
| | | | Also remove some unnecessary blank lines from archive_read.3.
* Performance optimization, code clarification, and bug workaround.kientzle2005-02-121-28/+36
| | | | | | | | | | | When reading the bodies of Zip archive entries, request a minimum of 1 byte, rather than a minimum of the full entry size. This is faster (since it does not force the decompression layer to combine reads) and works around a bug in the "none" decompression handler (which I'm testing a separate fix for now). I've also renamed "bytes_read" to "bytes_avail" in several places to more accurately reflect that the value returned from (a->compression_read_ahead) is the number of bytes available, not necessarily the number of bytes requested.
* Fill in some more Rockridge details in ISO9660 support: Ignore PDkientzle2005-02-121-1/+51
| | | | | | | | | | | | (padding) entries, extract inode value from PX entry, recognize SP and ST (start/end of SUSP extensions). I don't enforce SP yet, as I've seen CDROMs which use Rockridge extensions but don't have the SP record (which is officially required). The ISO9660 support is now mature enough to extract FreeBSD distribution CDROMs created with mkisofs.
* Flush input when reading from pipe to avoid "broken pipe" warnings.kientzle2005-02-124-20/+70
| | | | | | | For example, when using 'gunzip | tar' to decompress. Also, fix some style issues (write null character as '\0'). Thanks to: Jaakko Heinonen
* Add ibcntl as alias for ibcntphk2005-02-122-50/+53
| | | | | | Add ibsta and start to use it. Rename the argument structure more sensibly. Improve timeout and error handling
* Use the eot argument field for ibeot().phk2005-02-121-3/+3
|
* Fix comparisons that test if an unsigned value is < 0.stefanf2005-02-122-4/+4
| | | | Reviewed by: tjr
* Don't read more than the given 'len' bytes from the 'big' string.pjd2005-02-111-1/+1
| | | | | | PR: misc/77369 Submitted by: Ed Maste <emaste@phaedrus.sandvine.ca> MFC after: 1 week
* read(), pread(), write(), and pwrite() return EINVAL if they are askedcperciva2005-02-102-0/+10
| | | | for more than INT_MAX bytes.
* Constify.phk2005-02-091-8/+8
|
* Fixed the misplaced $FreeBSD$.ru2005-02-0917-25/+31
|
* Tie libgpib into the build (unless NO_GPIB)phk2005-02-061-1/+6
|
* Add libgpib containing the glue to get ibfoo() calls into the kernel.phk2005-02-063-0/+689
|
* Update my email address.das2005-02-0610-10/+10
|
* When we have converted an ASCII message to binary, set its version inglebius2005-02-041-0/+1
| | | | | | the header. Otherwise we will send a message with zero version. MFC after: 3 days
* Fix a small scripting snafu in the previous revision.das2005-02-041-2/+2
|
* Remove another vestige of support for a non-IEEE libm.das2005-02-041-2/+0
|
* Reduce diffs against vendor source (Sun fdlibm 5.3).das2005-02-0428-428/+476
|
* Move machine-dependent crud to its own makefile.das2005-02-045-22/+32
|
* Remove wrappers and other cruft intended to support SVID, mistakes indas2005-02-0475-3283/+81
| | | | | | | C90, and other arcana. Most of these features were never fully supported or enabled by default. Ok: bde, stefanf
* Cleanup prototypes and remove dead codephantom2005-02-012-72/+21
| | | | MFC After: 3 days
* In addition to the PAM environment, export a handful of useful PAM items.des2005-02-012-8/+62
| | | | Suggested by: Ed Maste <emaste@phaedrus.sandvine.ca>
* Add openpam_free_envlist(3).des2005-02-011-0/+2
|
OpenPOWER on IntegriCloud