Commit Graph

86 Commits

Author SHA1 Message Date
perry 59e4dfa599 polish 1997-03-10 20:50:39 +00:00
perry e1f7d360a1 Initial cut of Canadian national language support 1997-03-10 20:17:43 +00:00
hpeyerl 7cfeaf46a0 Color me bored. 1997-03-10 19:07:19 +00:00
jtc bf5c90d5f9 merge in 1.2 branch 1996-10-09 01:46:13 +00:00
jtc 3a375fb249 Merged in changes from branch (make sure all memory, file descriptors,
mappings, etc. are freed and return (nl_catd) -1 on error).   Also fix
one minor bug and clean up NLSPATH parsing a bit more.
1996-06-21 06:21:04 +00:00
jtc 749fcbc59b Ensure user can't make us overrun fixed sized buffers. 1996-06-20 18:47:08 +00:00
jtc c40394d175 Fix NLSPATH processing --- catopen was not processing beyond the first
colon.  Try all paths in NLSPATH as per XPG4.2.  Expand %l, %t, and %c
to nothing.  Should be language, territory, and codeset.
1996-06-20 14:54:38 +00:00
cgd 11f862a975 last argument to catgets()/_catgets() is 'const char *', not 'char *' 1996-05-16 21:51:22 +00:00
jtc adfd5ba766 New message catalog implementation that uses a more efficient machine
independent external format.  The new format is like what is used on
svr4 systems, except it uses fixed sized fields and a constant byte
order.
1996-05-13 23:29:32 +00:00
jtc e522ca37ad Changed _catopen() to always return ((nl_catd) -1) on error, and
changed _catgets() and _catclose() to special case catd's == -1.
This change fixes PR#2190, and brings _cat*() closer to XPG4.2
compliance.
1996-03-22 01:11:49 +00:00
jtc c47925a6fb Added spanish language message catalog from Jesus M. Gonzalez <jgb@ordago.uc3m.es> 1995-11-23 02:20:59 +00:00
jtc aa9022195f Add French libc message catalog by Matthieu Herrb <matthieu@abel.laas.fr> 1995-10-09 03:58:02 +00:00
jtc f860fa6ee0 Add german libc message catalog 1995-10-02 20:54:45 +00:00
jtc 9ae90685f2 Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
jtc 0e315a5455 C and Pig Latin message catalogs for libc 1995-05-02 19:56:27 +00:00
jtc f86410093b Changed name of __weak_reference() to __indr_reference(). They really
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc 3f10e2da9c catclose returns int 1995-03-01 08:00:12 +00:00
cgd 7ce7ea9415 fix Ids 1995-02-27 13:06:20 +00:00
cgd a05aca32f7 clear up type inconsistency. 1994-12-23 14:24:20 +00:00
cgd 517b869072 note that the file name is const, and fix a couple of roff bogons. 1994-12-23 13:04:39 +00:00
cgd 3f3c777922 more than i thought... 1994-12-23 13:01:30 +00:00
cgd 26d1df904e oops; one too many __const's 1994-12-23 12:54:14 +00:00
cgd ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
cgd 9e3970d80f make the char *'s that some of these routines take/return __const.
It quiets some warnings, and is the 'right thing' anyway.
1994-12-20 16:18:16 +00:00
jtc 6dca60107b XPG3 says that catclose returns an int.
Changed manpages to note that cat*() functions conform to XPG3.
Changed "private" versions of functions to have only one leading
underscore.
1994-11-18 15:36:11 +00:00
jtc 56fa6d53b4 Public versions of catopen(), catgets(), and catclose().
Implemented with weak references if they are supported, otherwise by
function calls that call the private versions.
1994-10-06 05:44:39 +00:00
jtc 072b0afc87 Renamed catopen(), catgets(), and catclose() to __catopen(), __catgets(),
and __catclose().
Made MCGetSet() and MCGetMsg() static.
1994-10-06 05:41:45 +00:00
jtc 57e2aaa1a7 Removed non-standard and undocumented MCAppPath feature 1994-10-05 17:33:50 +00:00
jtc be0eb1df9e fix typo 1994-10-05 17:31:50 +00:00
chopps 34769dec9b fix incorrect MAN3 line. 1994-05-30 21:34:40 +00:00
jtc 1a5e36018e Added catopen(3) manual page. 1994-05-30 03:40:36 +00:00
jtc 555ef6b0b0 Added catclose(3) and catgets(3) man pages --- still working on catopen(3). 1994-05-30 00:53:56 +00:00
jtc a762bb96d9 XPG3 says that the name argument specifies a complete path for the message
catalog if it contains a '/' (The original code only checked the first char).
1994-05-29 22:14:33 +00:00
jtc 6d847771c5 XPG3 wants .../%L/%N.cat and .../%N/%L in the default NLSPATH. 1994-05-29 22:10:56 +00:00
jtc 6e6a8ec828 Changes needed for NetBSD integration. 1994-05-29 21:24:05 +00:00
jtc 49ce813263 Kee Hinckley's XPG3 compliant message catalog system (extracted from the
elm distribution).
1994-05-29 21:21:59 +00:00