Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: Xjdic
- To: tlug@example.com
- Subject: Re: Xjdic
- From: "Andrew S. Howell" <andy@example.com>
- Date: Sun, 06 Oct 1996 22:50:08 JST
- In-Reply-To: Your message of "Sat, 05 Oct 1996 14:01:42 MST." <Pine.BSI.3.91.961005140016.2127A-100000@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug
>>>>> "Shige" == Shige Abe <sabe@example.com> writes: Shige> Has anyone ever got this to work under Linux? It compiles Shige> ok, but I get a segmentation fault whenever its run. Yes, I've got it going. I did get a seg fault when I first compiled it. I setup DEFAULT_DICDIR in xjdic.h. Unfortunately, this is not used in exjdxgen.c and xjdxgen.c. The following patch fixes that. I think you define .xdirrc, you won't have this problem. Hope this helps, Andy *** exjdxgen.c.org Mon Sep 23 02:06:48 1996 --- exjdxgen.c Mon Sep 23 02:08:38 1996 *************** *** 26,35 **** #include <ctype.h> #include <string.h> ! #define TRUE 1 ! #define FALSE 0 #define EXLIM 100 - #define DEFAULT_DICDIR "" /* could be: "/usr/local/lib/xjdic" */ unsigned char *db; unsigned char ENVname[50]; --- 26,34 ---- #include <ctype.h> #include <string.h> ! #include "xjdic.h" ! #define EXLIM 100 unsigned char *db; unsigned char ENVname[50]; *** xjdxgen.c.org Mon Sep 23 01:59:54 1996 --- xjdxgen.c Mon Sep 23 02:04:41 1996 *************** *** 26,38 **** /*#include <stdlib.h>*/ #include <ctype.h> #include <string.h> #define TRUE 1 #define FALSE 0 #define SPTAG '@' ! #define EXLIM 100 ! #define DEFAULT_DICDIR "" /* could be: "/usr/local/lib/xjdic" */ unsigned char *db; unsigned char ENVname[50]; unsigned char *dicenv; --- 26,41 ---- /*#include <stdlib.h>*/ #include <ctype.h> #include <string.h> + #include "xjdic.h" + /* #define TRUE 1 #define FALSE 0 #define SPTAG '@' ! #define DEFAULT_DICDIR "" */ /* could be: "/usr/local/lib/xjdic" */ ! + #define EXLIM 100 unsigned char *db; unsigned char ENVname[50]; unsigned char *dicenv; ----------------------------------------------------------------- a word from the sponsor will appear below ----------------------------------------------------------------- The TLUG mailing list is proudly sponsored by TWICS - Japan's First Public-Access Internet System. Now offering 20,000 yen/year flat rate Internet access with no time charges. Full line of corporate Internet and intranet products are available. info@example.com Tel: 03-3351-5977 Fax: 03-3353-6096
- Follow-Ups:
- Re: Xjdic (what exactly is it?)
- From: Dennis McMurchy <denismcm@example.com>
- References:
- Xjdic
- From: Shige Abe <sabe@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: Japanese language email problem (cont'd)
- Next by Date: Re: Japanese language email problem (cont'd)
- Prev by thread: Xjdic
- Next by thread: Re: Xjdic (what exactly is it?)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links