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