From a933d4b6003e599e9ee5f3735e8c0f4686b874c6 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Fri, 13 Jul 2012 22:15:58 -0600 Subject: [PATCH] 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. --- cde/programs/dtdocbook/instant/main.c | 4 ---- 1 file changed, 4 deletions(-) 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, -- 2.25.1