1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00

instant: partially revert commit bc96e6f1ff. remove 'HACK' :)

instant should fail if the locale xlation db cannot be opened.

The reason this was failing was because the locale translation DB for
linux did not exist (Linux.lcx).  I didn't add it until weeks/months
later :)

There needs to be one for each platform called "$(uname -s).lcx".
FreeBSD will need one too.
This commit is contained in:
Jon Trulson 2012-07-13 22:15:58 -06:00
parent bf51c110e5
commit a933d4b600

View file

@ -147,11 +147,7 @@ if (ret != 0) {
fprintf(stderr,
"Warning: could not open locale translation database. %d\n", ret);
/* HACK For some reason on linux this function fails, but isn't completely fatal */
#if !defined(linux)
exit(1);
#endif
}
if (_DtLcxXlateStdToOp(myDb,