summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* . Static'ize functions exported via function reference variables only.Alexey Zelkin2005-02-2711-117/+112
| | | | | | | | | | | | | | | . Replace inclusion of sys/param.h to sys/cdefs.h and sys/types.h where appropriate. . move _*_init() prototypes to mblocal.h, and remove these prototypes from .c files . use _none_init() in __setrunelocale() instead of duplicating code . move __mb* variables from table.c to none.c allowing us to not to export _none_*() externs, and appropriately remove them from mblocal.h Ok'ed by: tjr Notes: svn path=/head/; revision=142654
* ANSI'fy prototypesAlexey Zelkin2005-02-273-11/+5
| | | | Notes: svn path=/head/; revision=142653
* Replace usage of strerror()/strcpy() with strerror_r() here, reducingAlexey Zelkin2005-02-271-4/+2
| | | | | | | | | | number of required operations to get error message and avoiding of strerror's buffer clobbering. Also ANSI'fy prototypes while I'm here Notes: svn path=/head/; revision=142652
* Use ~/.login_conf when discussing a user's local file.Tom Rhodes2005-02-261-1/+1
| | | | | | | Suggested by: ru Notes: svn path=/head/; revision=142600
* Make the format of LC_CTYPE files architecture independent byRuslan Ermilov2005-02-261-66/+156
| | | | | | | | | | | | | | | | introducing the disk formats for _RuneLocale and friends. The disk formats do not have (useless) pointers and have 32-bit quantities instead of rune_t and long. (htonl(3) only works with 32-bit quantities, so there's no loss). Bootstrap mklocale(1) when necessary. (Bootstrapping from 4.x would be trivial (verified), but we no longer provide pre-5.3 source upgrades and this is the first commit to actually break it.) Notes: svn path=/head/; revision=142582
* Bring in a more healthy version of the libpthread for arm, which usesOlivier Houchard2005-02-268-8/+24
| | | | | | | ARM_TP_ADDRESS. Notes: svn path=/head/; revision=142571
* Mark _rtld_allocate_tls and _rtld_free_tls as weak symbols for Variant IDavid Xu2005-02-261-0/+5
| | | | | | | | | tls. Reviewed by: dfr Notes: svn path=/head/; revision=142560
* Un-document the non-extant exp10() and exp10f() functions.David Schultz2005-02-262-3/+1
| | | | | | | exp10() was a casualty of the transition away from the VAX. Notes: svn path=/head/; revision=142558
* Fix a few markup nits in previous commit.Tom Rhodes2005-02-251-1/+1
| | | | | | | Noticed by: ru, who else? :) Notes: svn path=/head/; revision=142412
* Reword previous commit to be a bit more correct and provide more information.Tom Rhodes2005-02-251-5/+13
| | | | | | | Inspiried by: ru Notes: svn path=/head/; revision=142411
* Revert rev 1.8, which causes small (e.g. 2 ulp) errors for someDavid Schultz2005-02-241-8/+13
| | | | | | | | | | | | inputs. The trouble with replacing two floats with a double is that the latter has 6 extra bits of precision, which actually hurts accuracy in many cases. All of the constants are optimal when float arithmetic is used, and would need to be recomputed to do this right. Noticed by: bde (ucbtest) Notes: svn path=/head/; revision=142369
* Do not mislead users into checking for a mount_ufs or mount_ufs2 manualTom Rhodes2005-02-241-1/+3
| | | | | | | | | | page. They do not exist. PR: 53303 Submitted by: Marc Silver <marcs@draenor.org> (original version) Notes: svn path=/head/; revision=142349
* -document the fact that extattr_get_* can fail if the requestedChristian S.J. Peron2005-02-241-1/+3
| | | | | | | | | | | attribute does not exist on the file. -bump document date Reviewed by: rwatson,trhodes MFC after: 1 week Notes: svn path=/head/; revision=142344
* Xref chflags(2).Tom Rhodes2005-02-231-1/+7
| | | | | | | | | Note that unlink.2 can return EPERM if the immutable or append-only flags are set. PR: 77043 Notes: svn path=/head/; revision=142342
* Make it more obvious that cap_mkdb(1) is required to rebuild the database.Tom Rhodes2005-02-231-0/+7
| | | | | | | | PR: 76981 Submitted by: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org> Notes: svn path=/head/; revision=142330
* Fix a misplaced .ElTim Kientzle2005-02-231-1/+1
| | | | Notes: svn path=/head/; revision=142290
* Don't return NULL if there's no error message;Tim Kientzle2005-02-231-1/+1
| | | | | | | | | | | return a generic text message instead. (Someday, I'll track down all the places that are generating errors but not recording messages. ;-/ Thanks to: Jaakko Heinonen Notes: svn path=/head/; revision=142289
* Add an EXAMPLES section[1], quote Nd, and bump doc date.Tom Rhodes2005-02-231-2/+12
| | | | | | | | PR: 53621 [1] Submitted by: Faried Nawaz <fn@hungry.com> [1] Notes: svn path=/head/; revision=142277
* Fix EOVERFLOW detection in vswprintf(3)Max Khon2005-02-211-4/+5
| | | | | | | | Reviewed by: tjr MFC after: 2 weeks Notes: svn path=/head/; revision=142183
* Use hardware instructions for sqrt() and sqrtf().David Schultz2005-02-213-0/+69
| | | | Notes: svn path=/head/; revision=142182
* Use double arithmetic instead of simulating it with two floats. ThisDavid Schultz2005-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.) Notes: svn path=/head/; revision=142181
* Remove the i387 versions of atan(), atan2(), and atan2f().David Schultz2005-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 Notes: svn path=/head/; revision=142176
* Remove i387 versions of asin() and acos(). Although the hardwareDavid Schultz2005-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 Notes: svn path=/head/; revision=142150
* Remove the float versions of the i387 trig functions obtained fromDavid Schultz2005-02-204-48/+2
| | | | | | | | | | | NetBSD. They're buggy, giving particularly for inputs larger in magnitude than 2**63. Noticed by: bde PR: 67469 Notes: svn path=/head/; revision=142149
* Somewhere along the line, tick accumulation for SA threads wasDaniel Eischen2005-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> Notes: svn path=/head/; revision=142047
* Fix a memory leak: when freeing the connection structure, don't forget toDag-Erling Smørgrav2005-02-161-0/+1
| | | | | | | | | | free the connection buffer as well. PR: bin/76153 MFC after: 1 week Notes: svn path=/head/; revision=141970
* Set TCP_NOPUSH on HTTP requests, reducing the number of round-tripsKelly Yancey2005-02-161-1/+9
| | | | | | | | | necessary to establish each connection. MFC after: 2 weeks Notes: svn path=/head/; revision=141958
* Set the default guardsize and stacksize in the default threadDaniel Eischen2005-02-152-0/+4
| | | | | | | attribute when the library is initialized. Notes: svn path=/head/; revision=141949
* Expand contractions.Ruslan Ermilov2005-02-152-2/+2
| | | | Notes: svn path=/head/; revision=141946
* Fix typo.Stefan Farfeleder2005-02-141-1/+1
| | | | | | | Submitted by: Antoine Brodin Notes: svn path=/head/; revision=141925
* Use socklen_t.Stefan Farfeleder2005-02-141-5/+5
| | | | Notes: svn path=/head/; revision=141921
* - Use socklen_t.Stefan Farfeleder2005-02-141-2/+1
| | | | | | | - No need for two instances of 'num'. Notes: svn path=/head/; revision=141920
* Fix most cases where the address of an int is passed to a function expecting aStefan Farfeleder2005-02-142-3/+2
| | | | | | | socklen_t * argument. Notes: svn path=/head/; revision=141918
* . Convert return type of gai_strerror() to 'const char *' as POSIX requires.Alexey Zelkin2005-02-141-29/+21
| | | | | | | | . Convert ai_errlist[] to simple 'char *' array, and appropriately optimize gai_strerror() Notes: svn path=/head/; revision=141908
* EAI_ADDRFAMILY and EAI_NODATA are obsoleted, and not definined anymore,Alexey Zelkin2005-02-141-7/+0
| | | | | | | so do not export these definitions via manual page Notes: svn path=/head/; revision=141907
* Remove file no longer in 8.13.3Gregory Neil Shapiro2005-02-141-1/+1
| | | | Notes: svn path=/head/; revision=141863
* Expand contractions.Ruslan Ermilov2005-02-1311-16/+16
| | | | Notes: svn path=/head/; revision=141851
* Fix a buffer overflow in the "none" decompression handler thatTim Kientzle2005-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. Notes: svn path=/head/; revision=141850
* who's -> whoseRuslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141849
* Expand *n't contractions.Ruslan Ermilov2005-02-1335-60/+60
| | | | Notes: svn path=/head/; revision=141846
* Increase the default stacksizes:Daniel Eischen2005-02-138-18/+44
| | | | | | | | | 32-bit 64-bit main thread 2MB 4MB other threads 1MB 2MB Notes: svn path=/head/; revision=141822
* Use the correct variable name in ibsad()Scott Long2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141783
* Check handle types.Poul-Henning Kamp2005-02-121-3/+3
| | | | | | | | Implement more device functions. Make DMA optional. Notes: svn path=/head/; revision=141777
* Oops. I missed a 0 => '\0' correction.Tim Kientzle2005-02-122-2/+2
| | | | | | | Thanks to: Ruslan Notes: svn path=/head/; revision=141776
* Clear the error message buffer on entry to major routines.Tim Kientzle2005-02-121-0/+3
| | | | | | | This avoids having error messages get concatenated over multiple calls. Notes: svn path=/head/; revision=141774
* Update the format descriptions to include ISO9660 and ZIP support.Tim Kientzle2005-02-123-4/+19
| | | | | | | Also remove some unnecessary blank lines from archive_read.3. Notes: svn path=/head/; revision=141773
* Performance optimization, code clarification, and bug workaround.Tim 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. Notes: svn path=/head/; revision=141772
* Fill in some more Rockridge details in ISO9660 support: Ignore PDTim Kientzle2005-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. Notes: svn path=/head/; revision=141771
* Flush input when reading from pipe to avoid "broken pipe" warnings.Tim 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 Notes: svn path=/head/; revision=141770
* Add ibcntl as alias for ibcntPoul-Henning Kamp2005-02-122-50/+53
| | | | | | | | | Add ibsta and start to use it. Rename the argument structure more sensibly. Improve timeout and error handling Notes: svn path=/head/; revision=141768