| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Submitted by: ceri
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Translated by: Valeriy Kravchuk <openxs@ipnet.kiev.ua>
Alexey Dokuchaev <danfe@nsu.ru>
|
|
|
|
| |
localization support
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Controlled by NLS define, currently disabled by default.
Idea obtained from: NetBSD
|
|
|
|
|
|
| |
. Note POSIX 1003.1-2001 conformation
. Add ERRORS section for catgets(3)
. Note what catopen(3) returns EINVAL, if catalog is corrupt
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
. 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
|
| |
|
|
|
|
|
|
|
| |
number of required operations to get error message and avoiding of strerror's
buffer clobbering.
Also ANSI'fy prototypes while I'm here
|
|
|
|
| |
Suggested by: ru
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
| |
ARM_TP_ADDRESS.
|
|
|
|
|
|
| |
tls.
Reviewed by: dfr
|
|
|
|
| |
exp10() was a casualty of the transition away from the VAX.
|
|
|
|
| |
Noticed by: ru, who else? :)
|
|
|
|
| |
Inspiried by: ru
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
page. They do not exist.
PR: 53303
Submitted by: Marc Silver <marcs@draenor.org> (original version)
|
|
|
|
|
|
|
|
| |
attribute does not exist on the file.
-bump document date
Reviewed by: rwatson,trhodes
MFC after: 1 week
|
|
|
|
|
|
| |
Note that unlink.2 can return EPERM if the immutable or append-only flags are set.
PR: 77043
|
|
|
|
|
| |
PR: 76981
Submitted by: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org>
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
PR: 53621 [1]
Submitted by: Faried Nawaz <fn@hungry.com> [1]
|
|
|
|
|
| |
Reviewed by: tjr
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
|
| |
They are slower than the MI routines on modern hardware,
except for degenerate cases such as the Pentium 4.
PR: 67469
|
|
|
|
|
|
|
|
| |
instruction was faster on the 486, it's slower than our MD version on
modern processors.
Determined by: bde
PR: 67469
|
|
|
|
|
|
|
|
| |
NetBSD. They're buggy, giving particularly for inputs larger in
magnitude than 2**63.
Noticed by: bde
PR: 67469
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
free the connection buffer as well.
PR: bin/76153
MFC after: 1 week
|
|
|
|
|
|
| |
necessary to establish each connection.
MFC after: 2 weeks
|
|
|
|
| |
attribute when the library is initialized.
|
| |
|
|
|
|
| |
Submitted by: Antoine Brodin
|
| |
|
|
|
|
| |
- No need for two instances of 'num'.
|
|
|
|
| |
socklen_t * argument.
|
|
|
|
|
| |
. Convert ai_errlist[] to simple 'char *' array, and appropriately
optimize gai_strerror()
|
|
|
|
| |
so do not export these definitions via manual page
|
| |
|
| |
|