Commit Graph

142 Commits

Author SHA1 Message Date
christos 44751e4dbf belt-n-suspenders, close on exec catalog files. 2014-09-16 01:30:28 +00:00
joerg 9c11b12444 Add nl_langinfo_l, catopen_l and wcsftime_l. 2013-08-19 08:03:33 +00:00
yamt a143089ba8 comment 2012-07-30 23:02:41 +00:00
abs 9e66e6d75e Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2012-06-25 22:32:43 +00:00
matt 504f867176 Use C89 Prototypes.
Remove use of __P
2012-03-20 17:44:17 +00:00
joerg 0f5f511fae Remove code for CITRUS!=yes. 2012-01-20 16:31:29 +00:00
joerg 9d4bdfc640 Use MAP_FAILED and NULL. 2009-03-10 13:15:40 +00:00
christos 461a86f9bd merge christos-time_t 2009-01-11 02:45:45 +00:00
tnozaki 52ed7b035f Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).

[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
  new locale-db implementation using citrus_db backend,
  see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
  internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].

[tools]
- mklocale(1): add new option ``-t'' that generates new style
  LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().

[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
    en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
    zh_CN.eucCN -> zh_CN.GB18030
    and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
  for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.

i tested release-build following arch:
  i386, amd64, hpc{mips,arm,sh}, sparc64, vax.

citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<

old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 00:20:18 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
jmmv 53501bc8e0 Improvements and fixes from J. Vicente Carrasco sent by private mail. 2008-04-03 10:47:27 +00:00
martin 93310937f3 Avoid munmap(-1, ...) - doesn't make much sense. 2007-12-28 00:39:32 +00:00
cbiere 4b14bb6309 Changed error message of ENOPROTOOPT to "Protocol option not available". 2006-10-31 00:38:06 +00:00
christos aa346cafd7 Fix spelling (Jon Olsson) 2006-03-15 16:13:00 +00:00
peter 91c766665d Translate new messages. 2006-02-21 16:00:30 +00:00
salo fcf37725e7 Translate new messages. 2006-02-21 15:20:03 +00:00
martin 2b403a2f32 Translate new messages 2006-02-21 14:02:22 +00:00
jmmv 9a759636ba Translate three new messages. 2006-02-21 08:51:20 +00:00
christos c07324ce90 Add the 3 new error messages. 2006-02-21 00:08:26 +00:00
christos 03256c6e55 WARNS=4 2005-11-29 03:11:58 +00:00
christos 5b84b3983f compat core reorg. 2005-09-13 01:44:08 +00:00
christos 86741d79ab - Fix the remaining indr_references so that they define lint symbols.
- Add an internal symbol for strerror_r (thanks klaus for noticing)
- Remove internal __strerror
2005-07-30 15:21:20 +00:00
lukem 88c3eadbfa Add missing __RCSID() 2005-06-12 05:21:25 +00:00
martin 3fcf13a5a0 Fix some typos. From Christian Brueffer in PR lib/30109. 2005-05-01 16:36:47 +00:00
bouyer 2acdd6193e Translate messages 86 -> 93. Thanks to Marc Baudoin for review. 2005-01-03 22:00:37 +00:00
salo f1b6ac43ff Add ENOATTR translation. 2005-01-03 19:52:35 +00:00
peter 4e256ea1c5 Translate errors 80 to 93 in set 1. Fix typo's and improve some messages.
Reviewed by daniel.
2005-01-03 15:21:48 +00:00
jmmv 0d9171e5fe Add ETIME and ENOATTR translations. 2005-01-02 19:38:49 +00:00
wiz f95f6051ed Add German ENOATTR translation. 2005-01-02 19:08:35 +00:00
jdolecek be801db792 add czech ENOATTR translation 2005-01-02 19:03:41 +00:00
thorpej 6593d72e33 Add ENOATTR ("Attribute not found"). From FreeBSD. 2005-01-02 18:54:51 +00:00
tshiozak 09e09c2c2c make sure CITRUS=no to work. 2004-07-21 20:27:46 +00:00
tshiozak 8ad8061809 use _citrus_lookup_alias() instead of __unalias(). 2004-07-21 14:17:22 +00:00
salo 99410184e7 netbsd.org->NetBSD.org 2003-07-26 19:24:24 +00:00
salo 9a8fb24f43 Add ETIME translation. 2003-05-30 23:24:23 +00:00
wiz 26c0f55f7f Add translation for 92 (ETIME). 2003-05-30 23:10:42 +00:00
jdolecek 0208373f7d add ETIME translation 2003-05-30 19:35:34 +00:00
jdolecek c01f677379 ETIME is #92, not #91 2003-05-30 19:33:58 +00:00
kleink 9d85c4a5f8 Add ETIME, per POSIX-2001. 2003-05-27 22:37:33 +00:00
wiz 472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
salo 0db44986d2 Add slovak language libc message catalog. 2003-04-14 05:21:47 +00:00
wiz 2db352f405 Update german translation for ERANGE. 2003-04-10 07:26:48 +00:00
jdolecek 9865cb9229 update ERANGE czech string according to the english ERANGE update 2003-04-10 07:20:52 +00:00
kleink 27d8588746 Change the strerror() string for ERANGE consistently to "Result too
large or too small" and reword its intro(2) description to reflect
the present use for non-numerical out-of-range errors; resolves
Andrew Brown's PR standards/21004, the discussion of which was
dramatically sped up by repeated whipping from Perry Metzger. :-)
2003-04-09 21:36:28 +00:00
jmmv 33b8c350b6 Add a Catalan libc message catalog file (plus everything else needed to
track the file).  Closes my own PR lib/19498.
2003-04-09 20:17:06 +00:00
wiz 4cc7cdbc5c New sentence, new line; bump date for last change. 2003-02-12 18:58:50 +00:00
gmcgarry 1b19306f26 Add Xrefs and some editorial comments on the interface. 2003-02-12 02:50:52 +00:00
gmcgarry 0d72c02993 Xref gencat(1) 2003-02-05 05:05:50 +00:00
jmmv 989484665d Replace "Fichero" words with "Archivo" that were missed in the last update.
Approved by skrll.
2002-12-04 10:18:19 +00:00
skrll decf95c8e0 Improve and update from Julio Merino in PR 19202. 2002-12-04 09:39:33 +00:00