summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix grammatical issue.trhodes2005-02-271-4/+4
| | | | Submitted by: ceri
* Backout NLS catalog handling, until all edge cases are resolvedphantom2005-02-271-11/+0
|
* Unbreak !NLS casephantom2005-02-272-2/+2
|
* Make the format of LC_COLLATE files architecture independent.ru2005-02-272-3/+14
|
* Revert accidiental removal of string.h inclusion.phantom2005-02-271-0/+1
|
* Enable processing of NLS catalogs while building/installing of libcphantom2005-02-271-0/+11
|
* Add russian version of libc NLS catalogphantom2005-02-271-0/+256
| | | | | Translated by: Valeriy Kravchuk <openxs@ipnet.kiev.ua> Alexey Dokuchaev <danfe@nsu.ru>
* Add template NLS catalog for strerror(), strerror_r() and strsignal()phantom2005-02-271-0/+249
| | | | localization support
* Change the spin lock logic to a reasonable one. We should spin whendelphij2005-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
* Remove the check about whether MALLOC_EXTRA_SANITY is defined,delphij2005-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
* Add NLS catalogs support to strerror(), strerror_r() and strsignal().phantom2005-02-272-29/+97
| | | | | | Controlled by NLS define, currently disabled by default. Idea obtained from: NetBSD
* . Bump .Dd'sphantom2005-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
* Bring in NetBSD's improvements and cleanups to NLS subsystem, makingphantom2005-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
* . Static'ize functions exported via function reference variables only.phantom2005-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
* ANSI'fy prototypesphantom2005-02-273-11/+5
|
* Replace usage of strerror()/strcpy() with strerror_r() here, reducingphantom2005-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
* Use ~/.login_conf when discussing a user's local file.trhodes2005-02-261-1/+1
| | | | Suggested by: ru
* Make the format of LC_CTYPE files architecture independent byru2005-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.)
* Bring in a more healthy version of the libpthread for arm, which usescognet2005-02-268-8/+24
| | | | ARM_TP_ADDRESS.
* Mark _rtld_allocate_tls and _rtld_free_tls as weak symbols for Variant Idavidxu2005-02-261-0/+5
| | | | | | tls. Reviewed by: dfr
* Un-document the non-extant exp10() and exp10f() functions.das2005-02-262-3/+1
| | | | exp10() was a casualty of the transition away from the VAX.
* Fix a few markup nits in previous commit.trhodes2005-02-251-1/+1
| | | | Noticed by: ru, who else? :)
* Reword previous commit to be a bit more correct and provide more information.trhodes2005-02-251-5/+13
| | | | Inspiried by: ru
* Revert rev 1.8, which causes small (e.g. 2 ulp) errors for somedas2005-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)
* Do not mislead users into checking for a mount_ufs or mount_ufs2 manualtrhodes2005-02-241-1/+3
| | | | | | | page. They do not exist. PR: 53303 Submitted by: Marc Silver <marcs@draenor.org> (original version)
* -document the fact that extattr_get_* can fail if the requestedcsjp2005-02-241-1/+3
| | | | | | | | attribute does not exist on the file. -bump document date Reviewed by: rwatson,trhodes MFC after: 1 week
* Xref chflags(2).trhodes2005-02-231-1/+7
| | | | | | Note that unlink.2 can return EPERM if the immutable or append-only flags are set. PR: 77043
* Make it more obvious that cap_mkdb(1) is required to rebuild the database.trhodes2005-02-231-0/+7
| | | | | PR: 76981 Submitted by: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org>
* Fix a misplaced .Elkientzle2005-02-231-1/+1
|
* Don't return NULL if there's no error message;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
* Add an EXAMPLES section[1], quote Nd, and bump doc date.trhodes2005-02-231-2/+12
| | | | | PR: 53621 [1] Submitted by: Faried Nawaz <fn@hungry.com> [1]
* 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
|
OpenPOWER on IntegriCloud