mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +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:
parent
bf51c110e5
commit
a933d4b600
1 changed files with 0 additions and 4 deletions
|
@ -147,11 +147,7 @@ if (ret != 0) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Warning: could not open locale translation database. %d\n", ret);
|
"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);
|
exit(1);
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_DtLcxXlateStdToOp(myDb,
|
if (_DtLcxXlateStdToOp(myDb,
|
||||||
|
|
Loading…
Reference in a new issue