gabor
ea21a95532
- More style(9) fixups
...
Approved by: delphij (mentor)
2010-02-20 08:19:19 +00:00
gabor
4081d06fa6
- Deal with some special cases [1]
...
- style(9) nits
Pointed out by: jilles [1]
Approved by: delphij (mentor)
2010-02-09 19:37:12 +00:00
gabor
e93ffcfe03
- Fix some style(9) bugs
...
Pointed out by: bde
2010-01-29 18:33:59 +00:00
gabor
5cd5dea33b
- style(9)
...
Approved by: delphij
2010-01-25 23:44:00 +00:00
gabor
b9c96fa735
Cache failing and opened catalogs in catopen() and related functions.
...
Continuous catopen() calls cause 4 failig stat(2) each, which means a lot
of overhead. It is also a good idea to keep the opened catalogs in the memory
to speed up further catopen() calls to the same catalog since these catalogs
are not big at all. In this case, we count references and only free() the
allocated space when the reference count reaches 0. The reads and writes to
the cache are syncronized with an rwlock when these functions are called from
a threaded program.
Requested by: kib
Approved by: delphij
2010-01-25 23:37:49 +00:00
gabor
64eeb2f5c8
- Update Galician catalog
2010-01-21 11:36:40 +00:00
gabor
786e403e1b
- Update the Spanish NLS catalog
...
Reviewed by: carvay,
the.infamous.paul@gmail.com ,
Joan Picanyol i Puig <lists-freebsd-es@biaix.org>,
Ing . Marcos Luis Ortiz Valmaseda <mlortiz@uci.cu>,
eskanete@gmail.com ,
Jose M Rodriguez <josemi@freebsd.jazztel.es>,
Guillermo Hernandez <guillermo@QuerySoft.es>,
dani.doni@gmail.com
2009-12-03 19:27:12 +00:00
gabor
3bc020a691
- Update Hungarian libc catalog
2009-11-17 18:57:44 +00:00
jkim
0730701018
Sync with C.msg r199083.
2009-11-16 19:10:09 +00:00
rene
8ecd96b1ed
Synchronize with C.msg revision 199083 and improve some existing messages.
...
Reviewed by: remko
Approved by: remko
2009-11-11 18:28:12 +00:00
ume
700ad53160
Add Japanese catalogue entries for newer errnos: EBADMSG, EMULTIHOP,
...
ENOLINK, EPROTO, ENOTCAPABLE.
2009-11-10 03:56:51 +00:00
ume
d70e2a3aeb
Add gai_strerror() catalog for ja_JP.UTF-8 and ja_JP.eucJP.
2009-11-09 17:26:16 +00:00
ume
a9dc4dbb62
Add NLS catalogs support to gai_strerror(3).
...
Controlled by NLS define.
2009-11-09 12:46:59 +00:00
ume
916f88dc5a
Fix comment.
...
Pointed out by: nyan
MFC after: 1 week
2009-11-09 12:38:13 +00:00
ume
2a01fbc911
Add ja_JP.eucJP catalog.
...
Reviewed by: hrs, nork, takawata
MFC after: 1 week
2009-11-09 12:33:47 +00:00
ume
666d1e7afa
Add ja_JP.UTF-8 catalog.
...
Reviewed by: hrs, nork, takawata
MFC after: 1 week
2009-11-09 12:28:59 +00:00
gabor
4968e1f708
- Strip trailing CRs
...
Requested by: Alex Kozlov <spam@rm-rf.kiev.ua> (via private mail)
2009-11-08 11:55:03 +00:00
gabor
5f89352d0d
- Update Ukranian catalog
...
Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> (via private mail)
2009-11-08 11:32:39 +00:00
rwatson
1e0040cfb5
Add C message catalogue entries for newer errnos: EBADMSG, EMULTIHOP,
...
ENOLINK, EPROTO, ENOTCAPABLE.
Submitted by: Alan R. S. Bueno <alan.bsd at gmail.com>
MFC after: 3 days (most)
2009-10-13 17:57:06 +00:00
gabor
1856a0cdd6
- Add Galician NLS catalog
2009-09-27 13:16:38 +00:00
netchild
6273335e54
Improve the German translation.
...
Some parts (ERANGE, ETXTBSY) triggered by Christoph Mallon.
Discussed with: brueffer, gabor (previous version)
2009-03-25 12:36:37 +00:00
gabor
6e4ec9f54d
- Add Belarusian catalog
...
PR: conf/133004
Submitted by: Tatsiana Elavaya <t.elavaya@gmail.com>
2009-03-24 23:31:41 +00:00
maxim
8215a8427b
o Spell.
2009-03-21 10:10:33 +00:00
gabor
930d8468b2
- Add Ukranian catalog
...
Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> (via private mail)
2009-03-20 23:55:01 +00:00
gabor
79d9ed6723
- Fix typo
...
PR: kern/132773
Reported by: Alan R. S. Bueno <alan.bsd@gmail.com>
Submitted by: Murilo Opsfelder <mopsfelder@gmail.com>
2009-03-18 14:33:10 +00:00
gabor
cd56ced92d
- Add Brazilian Portuguese catalog [1]
...
- Fixes for German catalog [2]
PR: kern/132694 [1], conf/80504 [2]
Submitted by: Murilo Opsfelder <mopsfelder@gmail.com> [1],
brueffer [2]
2009-03-16 16:33:08 +00:00
gabor
0592710988
- Create the buildworld object directories with mtree instead of various
...
mkdir calls
- Remove the ugly workaroung from libc NLS, which was to create some of
these directories
2009-03-15 13:14:06 +00:00
gabor
2bf7071f66
- Fix object directory creation when running threaded buildworld
2009-03-13 22:41:30 +00:00
gabor
a9bdc02cf2
- Reenable Native Language Support in libc. This feature was disabled due
...
to possible breakages in the catalog handling code. Since then, that
code has been replaced by the secure code from NetBSD but NLS in libc
remained turned off. Tests have shown that the feature is stable and
working so we can now turn it on again.
- Add several new catalog files:
- ca_ES.ISO8859-1
- de_DE.ISO8859-1
- el_GR.ISO8859-7 (by manolis@ and keramida@)
- es_ES.ISO8859-1 (kern/123179, by carvay@)
- fi_FI.ISO8859-1
- fr_FR.ISO8859-1 (kern/78756, by thierry@)
- hu_HU.ISO8859-2 (by gabor@)
- it_IT.ISO8859-15
- nl_NL.ISO8859-1 (corrections by rene@)
- no_NO.ISO8859-1
- mn_MN.UTF-8 (by ganbold@)
- sk_SK.ISO8859-2
- sv_SE.ISO8859-1
(The catalogs without explicit source has been obtained from NetBSD.)
Approved by: attilio
2009-03-13 10:40:38 +00:00
deischen
2a7306fdc5
Use C comments since we now preprocess these files with CPP.
2007-04-29 14:05:22 +00:00
deischen
a0f6b0f1d0
Add each directory's symbol map file to SYM_MAPS.
2006-03-13 01:15:01 +00:00
deischen
138dd54357
Add symbol maps and initial symbol version definitions to libc.
...
Reviewed by: davidxu
2006-03-13 00:53:21 +00:00
pjd
ff28179518
Better translation.
2005-07-23 21:30:35 +00:00
jkim
3ceb159fcb
Use better Korean translation for `trap'
...
Requested by: many Korean users from bsdforum.or.kr
Submitted by: perky
Approved by: anholt (mentor)
2005-07-16 05:40:14 +00:00
ru
38fc91ca96
Assorted markup fixes.
...
Approved by: re
2005-06-15 19:04:04 +00:00
phantom
732dfa42c4
Add korean NLS message catalogs for libc
...
Submitted by: Hye-Shik Chang <perky@FreeBSD.org>
PR: misc/78290
2005-03-07 13:57:24 +00:00
pjd
a0d09932cc
Add polish version of libc NLS catalog.
2005-03-01 14:38:30 +00:00
phantom
92f927766a
Backout NLS catalog handling, until all edge cases are resolved
2005-02-27 22:17:47 +00:00
phantom
9b22b29def
Enable processing of NLS catalogs while building/installing of libc
2005-02-27 18:09:52 +00:00
phantom
ec10d7e1e3
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
phantom
1837851b4b
Add template NLS catalog for strerror(), strerror_r() and strsignal()
...
localization support
2005-02-27 17:59:39 +00:00
phantom
ffdbc9bc05
. 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
phantom
db7bc61c50
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
phantom
e199e843c1
Cleanup prototypes and remove dead code
...
MFC After: 3 days
2005-02-01 16:04:55 +00:00
tjr
8366c4708a
Remove incomplete support for running FreeBSD userland on old NetBSD kernels
...
lacking the issetugid() and utrace() syscalls.
2003-10-29 10:45:01 +00:00
nectar
0b64e1476b
Back out the `hiding' of strlcpy and strlcat. Several people
...
vocally objected to this safety belt.
2003-05-01 19:03:14 +00:00
nectar
e69967f534
`Hide' strlcpy and strlcat (using the namespace.h / __weak_reference
...
technique) so that we don't wind up calling into an application's
version if the application defines them.
Inspired by: qpopper's interfering and buggy version of strlcpy
2003-04-29 21:13:50 +00:00
ru
40e2359f4b
libc_r wasn't so tied to libc for 22 months.
2002-11-18 09:50:57 +00:00
wollman
f8a79b86e6
Do not include <sys/syslimits.h> directly; it is not intended for general
...
consumption.
2002-10-27 17:44:33 +00:00
ache
08eb533d34
Now, malloc is fixed, remove ENOMEM hardcode
2002-08-12 11:47:19 +00:00