From: Jon Trulson Date: Sat, 14 Jul 2012 04:15:58 +0000 (-0600) Subject: instant: partially revert commit bc96e6f1ff6c72d4d2cafb6a4088ffa32cd3019f. remove... X-Git-Tag: 2.2.0a~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a933d4b6003e599e9ee5f3735e8c0f4686b874c6;p=oweals%2Fcde.git instant: partially revert commit bc96e6f1ff6c72d4d2cafb6a4088ffa32cd3019f. 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. --- diff --git a/cde/programs/dtdocbook/instant/main.c b/cde/programs/dtdocbook/instant/main.c index 2a917639..9f7d4319 100644 --- a/cde/programs/dtdocbook/instant/main.c +++ b/cde/programs/dtdocbook/instant/main.c @@ -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,