|
|
static void | static void |
catinit (void) { | catinit (void) { |
if (!cat_is_open) { | if (!cat_is_open) { |
catfd = my_catopen(mantexts,0); |
catfd = my_catopen(mantexts,NL_CAT_LOCALE); |
if (catfd == (nl_catd) -1) { | if (catfd == (nl_catd) -1) { |
/* Only complain if at least one of NLSPATH and LANG exists, | /* Only complain if at least one of NLSPATH and LANG exists, |
and LANG != "en" (or when debugging). Also accept en_ZA etc. */ | and LANG != "en" (or when debugging). Also accept en_ZA etc. */ |