summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use correct byte order when parsing the size of the gzip "Extra data" field.Tim Kientzle2005-03-021-1/+1
| | | | | | | | | | In particular, this correctly allows bsdtar (and pkg_add) to skip package signatures. Thanks to: Theo Schlossnagle Notes: svn path=/head/; revision=142990
* Fix incorrect comment.David Xu2005-03-011-1/+1
| | | | Notes: svn path=/head/; revision=142959
* Fix typo in a comment.Stefan Farfeleder2005-03-011-1/+1
| | | | Notes: svn path=/head/; revision=142951
* Add polish version of libc NLS catalog.Pawel Jakub Dawidek2005-03-011-0/+249
| | | | Notes: svn path=/head/; revision=142924
* Increase the default stacksizes:Joe Marcus Clarke2005-02-283-20/+30
| | | | | | | | | | | | 32-bit 64-bit main thread 2 MB 4 MB other threads 1 MB 2 MB Adapted from: libpthread Approved by: deischen Notes: svn path=/head/; revision=142808
* Fix grammatical issue.Tom Rhodes2005-02-271-4/+4
| | | | | | | Submitted by: ceri Notes: svn path=/head/; revision=142721
* Backout NLS catalog handling, until all edge cases are resolvedAlexey Zelkin2005-02-271-11/+0
| | | | Notes: svn path=/head/; revision=142718
* Unbreak !NLS caseAlexey Zelkin2005-02-272-2/+2
| | | | Notes: svn path=/head/; revision=142693
* Make the format of LC_COLLATE files architecture independent.Ruslan Ermilov2005-02-272-3/+14
| | | | Notes: svn path=/head/; revision=142686
* Revert accidiental removal of string.h inclusion.Alexey Zelkin2005-02-271-0/+1
| | | | Notes: svn path=/head/; revision=142680
* Enable processing of NLS catalogs while building/installing of libcAlexey Zelkin2005-02-271-0/+11
| | | | Notes: svn path=/head/; revision=142676
* Add russian version of libc NLS catalogAlexey Zelkin2005-02-271-0/+256
| | | | | | | | Translated by: Valeriy Kravchuk <openxs@ipnet.kiev.ua> Alexey Dokuchaev <danfe@nsu.ru> Notes: svn path=/head/; revision=142675
* Add template NLS catalog for strerror(), strerror_r() and strsignal()Alexey Zelkin2005-02-271-0/+249
| | | | | | | localization support Notes: svn path=/head/; revision=142672
* Change the spin lock logic to a reasonable one. We should spin whenXin LI2005-02-272-2/+2
| | | | | | | | | | | | the lock is held by other thread, but not when nobody owns it. According to deischen@, this part of code will never be hit in our threads library, since it does not use locks without wait/wakeup functions. Spotted by: mingyanguo via ChinaUnix.net forum Reviewed by: deischen Notes: svn path=/head/; revision=142670
* Remove the check about whether MALLOC_EXTRA_SANITY is defined,Xin LI2005-02-271-2/+0
| | | | | | | | | | | | surrounding the undef'ing it. It does not seem necessary to undef some symbol that is not exist, and gcc does not complain about whether a symbol is exist before #undef'ing it out. Spotted by: mingyanguo via ChinaUnix.net forum Reviewed by: phk Notes: svn path=/head/; revision=142668
* Add NLS catalogs support to strerror(), strerror_r() and strsignal().Alexey Zelkin2005-02-272-29/+97
| | | | | | | | | Controlled by NLS define, currently disabled by default. Idea obtained from: NetBSD Notes: svn path=/head/; revision=142667
* . Bump .Dd'sAlexey Zelkin2005-02-273-7/+20
| | | | | | | | | . Note POSIX 1003.1-2001 conformation . Add ERRORS section for catgets(3) . Note what catopen(3) returns EINVAL, if catalog is corrupt Notes: svn path=/head/; revision=142665
* Bring in NetBSD's improvements and cleanups to NLS subsystem, makingAlexey Zelkin2005-02-272-392/+96
| | | | | | | | | | | | | | it type and endian clean and removing of stdio dependency from NLS functions (catalog files now are processed via mmap()) Also following changes were done (against NetBSD version): . If mmap() failed, set errno to EINVAL and do not try to munmap() file Obtained from: NetBSD Notes: svn path=/head/; revision=142664
* . 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