Pawel Jakub Dawidek
b212dd15ff
Add polish version of libc NLS catalog.
2005-03-01 14:38:30 +00:00
Joe Marcus Clarke
d525de835f
Increase the default stacksizes:
...
32-bit 64-bit
main thread 2 MB 4 MB
other threads 1 MB 2 MB
Adapted from: libpthread
Approved by: deischen
2005-02-28 17:15:31 +00:00
Tom Rhodes
9c512d4ae0
Fix grammatical issue.
...
Submitted by: ceri
2005-02-27 22:24:24 +00:00
Alexey Zelkin
0f331b31cf
Backout NLS catalog handling, until all edge cases are resolved
2005-02-27 22:17:47 +00:00
Alexey Zelkin
fc7c352831
Unbreak !NLS case
2005-02-27 21:17:22 +00:00
Ruslan Ermilov
edc431123e
Make the format of LC_COLLATE files architecture independent.
2005-02-27 20:31:13 +00:00
Alexey Zelkin
fcd2f9fe54
Revert accidiental removal of string.h inclusion.
2005-02-27 18:39:02 +00:00
Alexey Zelkin
82be63e1bb
Enable processing of NLS catalogs while building/installing of libc
2005-02-27 18:09:52 +00:00
Alexey Zelkin
c2e31119ea
Add russian version of libc NLS catalog
...
Translated by: Valeriy Kravchuk <openxs@ipnet.kiev.ua>
Alexey Dokuchaev <danfe@nsu.ru>
2005-02-27 18:09:09 +00:00
Alexey Zelkin
c51d47437b
Add template NLS catalog for strerror(), strerror_r() and strsignal()
...
localization support
2005-02-27 17:59:39 +00:00
Xin LI
12927a8513
Change the spin lock logic to a reasonable one. We should spin when
...
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
2005-02-27 17:45:55 +00:00
Xin LI
2dcb9ce484
Remove the check about whether MALLOC_EXTRA_SANITY is defined,
...
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
2005-02-27 17:16:16 +00:00
Alexey Zelkin
fba5c5fa09
Add NLS catalogs support to strerror(), strerror_r() and strsignal().
...
Controlled by NLS define, currently disabled by default.
Idea obtained from: NetBSD
2005-02-27 16:58:28 +00:00
Alexey Zelkin
efefbdc6d6
. Bump .Dd's
...
. Note POSIX 1003.1-2001 conformation
. Add ERRORS section for catgets(3)
. Note what catopen(3) returns EINVAL, if catalog is corrupt
2005-02-27 16:30:16 +00:00
Alexey Zelkin
fd5cf7c013
Bring in NetBSD's improvements and cleanups to NLS subsystem, making
...
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
2005-02-27 16:26:49 +00:00
Alexey Zelkin
e94c6cb4a2
. Static'ize functions exported via function reference variables only.
...
. 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
2005-02-27 15:11:09 +00:00
Alexey Zelkin
f9b5e461bb
ANSI'fy prototypes
2005-02-27 14:54:23 +00:00
Alexey Zelkin
75667314a9
Replace usage of strerror()/strcpy() with strerror_r() here, reducing
...
number of required operations to get error message and avoiding of strerror's
buffer clobbering.
Also ANSI'fy prototypes while I'm here
2005-02-27 14:51:27 +00:00
Tom Rhodes
16814e4c71
Use ~/.login_conf when discussing a user's local file.
...
Suggested by: ru
2005-02-26 23:41:04 +00:00
Ruslan Ermilov
3fb3a43079
Make the format of LC_CTYPE files architecture independent by
...
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.)
2005-02-26 21:47:54 +00:00
Olivier Houchard
788d6eeca0
Bring in a more healthy version of the libpthread for arm, which uses
...
ARM_TP_ADDRESS.
2005-02-26 19:06:49 +00:00
David Xu
17ceb495f0
Mark _rtld_allocate_tls and _rtld_free_tls as weak symbols for Variant I
...
tls.
Reviewed by: dfr
2005-02-26 10:39:49 +00:00
David Schultz
57276bb6ea
Un-document the non-extant exp10() and exp10f() functions.
...
exp10() was a casualty of the transition away from the VAX.
2005-02-26 08:54:45 +00:00
Tom Rhodes
61001d7506
Fix a few markup nits in previous commit.
...
Noticed by: ru, who else? :)
2005-02-25 00:40:46 +00:00
Tom Rhodes
59fa1b558e
Reword previous commit to be a bit more correct and provide more information.
...
Inspiried by: ru
2005-02-25 00:32:41 +00:00
David Schultz
aa28340df9
Revert rev 1.8, which causes small (e.g. 2 ulp) errors for some
...
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)
2005-02-24 06:32:13 +00:00
Tom Rhodes
0fa17d320d
Do not mislead users into checking for a mount_ufs or mount_ufs2 manual
...
page. They do not exist.
PR: 53303
Submitted by: Marc Silver <marcs@draenor.org> (original version)
2005-02-24 00:32:58 +00:00
Christian S.J. Peron
e80750df02
-document the fact that extattr_get_* can fail if the requested
...
attribute does not exist on the file.
-bump document date
Reviewed by: rwatson,trhodes
MFC after: 1 week
2005-02-24 00:04:45 +00:00
Tom Rhodes
87dbe6bb4b
Xref chflags(2).
...
Note that unlink.2 can return EPERM if the immutable or append-only flags are set.
PR: 77043
2005-02-23 23:55:58 +00:00
Tom Rhodes
ef8bcbfb41
Make it more obvious that cap_mkdb(1) is required to rebuild the database.
...
PR: 76981
Submitted by: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org>
2005-02-23 22:11:59 +00:00
Tim Kientzle
59ded882e9
Fix a misplaced .El
2005-02-23 06:58:09 +00:00
Tim Kientzle
39cbd83837
Don't return NULL if there's no error message;
...
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
2005-02-23 06:57:04 +00:00
Tom Rhodes
0e5d513b50
Add an EXAMPLES section[1], quote Nd, and bump doc date.
...
PR: 53621 [1]
Submitted by: Faried Nawaz <fn@hungry.com> [1]
2005-02-23 02:02:38 +00:00
Max Khon
f1defde9d5
Fix EOVERFLOW detection in vswprintf(3)
...
Reviewed by: tjr
MFC after: 2 weeks
2005-02-21 19:41:44 +00:00
David Schultz
adec44c08b
Use hardware instructions for sqrt() and sqrtf().
2005-02-21 18:27:57 +00:00
David Schultz
96efaf6c36
Use double arithmetic instead of simulating it with two floats. This
...
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.)
2005-02-21 17:44:57 +00:00
David Schultz
f674c13c78
Remove the i387 versions of atan(), atan2(), and atan2f().
...
They are slower than the MI routines on modern hardware,
except for degenerate cases such as the Pentium 4.
PR: 67469
2005-02-21 16:04:23 +00:00
David Schultz
c4691a5da9
Remove i387 versions of asin() and acos(). Although the hardware
...
instruction was faster on the 486, it's slower than our MD version on
modern processors.
Determined by: bde
PR: 67469
2005-02-20 22:51:08 +00:00
David Schultz
dab1571b90
Remove the float versions of the i387 trig functions obtained from
...
NetBSD. They're buggy, giving particularly for inputs larger in
magnitude than 2**63.
Noticed by: bde
PR: 67469
2005-02-20 22:50:40 +00:00
Daniel Eischen
0e963ec574
Somewhere along the line, tick accumulation for SA threads was
...
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>
2005-02-18 16:07:05 +00:00
Dag-Erling Smørgrav
55cf7be1ab
Fix a memory leak: when freeing the connection structure, don't forget to
...
free the connection buffer as well.
PR: bin/76153
MFC after: 1 week
2005-02-16 12:46:46 +00:00
Kelly Yancey
20a2a51bc3
Set TCP_NOPUSH on HTTP requests, reducing the number of round-trips
...
necessary to establish each connection.
MFC after: 2 weeks
2005-02-16 00:22:20 +00:00
Daniel Eischen
888ab0185e
Set the default guardsize and stacksize in the default thread
...
attribute when the library is initialized.
2005-02-15 15:02:11 +00:00
Ruslan Ermilov
423ac68026
Expand contractions.
2005-02-15 09:27:00 +00:00
Stefan Farfeleder
37df8bec5b
Fix typo.
...
Submitted by: Antoine Brodin
2005-02-14 18:40:31 +00:00
Stefan Farfeleder
1ad041fed3
Use socklen_t.
2005-02-14 17:55:33 +00:00
Stefan Farfeleder
10248e3a93
- Use socklen_t.
...
- No need for two instances of 'num'.
2005-02-14 17:51:45 +00:00
Stefan Farfeleder
78e3eed071
Fix most cases where the address of an int is passed to a function expecting a
...
socklen_t * argument.
2005-02-14 17:42:58 +00:00
Alexey Zelkin
ed61386604
. Convert return type of gai_strerror() to 'const char *' as POSIX requires.
...
. Convert ai_errlist[] to simple 'char *' array, and appropriately
optimize gai_strerror()
2005-02-14 11:33:12 +00:00
Alexey Zelkin
03c51c7e90
EAI_ADDRFAMILY and EAI_NODATA are obsoleted, and not definined anymore,
...
so do not export these definitions via manual page
2005-02-14 11:24:58 +00:00