|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||||
2011年06月03日(金) 旧暦 [n年日記] [更新:"2011/06/03 10:09:24"]#1 [programming] anthy-9100h/src-diclib/logger.c22 static void 23 do_log(int lv, const char *str, va_list arg) 24 { 25 if (lv < current_level) { 26 return ; 27 } 28 fprintf(stderr, "Anthy: "); 29 vfprintf(stderr, str, arg); 30 } 31 32 void 33 anthy_log(int lv, const char *str, ...) 34 { 35 va_list arg; 36 if (lv > current_level) { 37 return ; 38 } 39 va_start(arg, str); 40 do_log(lv, str, arg); 41 va_end(arg); 42 }何故 > < の向きが逆なのだろう ? t-105@makoto 08:58:17/110603(..inputmethod/anthy)% uim-xim uim <-> XIM bridge. Supporting multiple locales. Using full-synchronous XIM event flow libuim: [fatal] anthy_init() failed libuim: All functionality has been disabled to save user application data. libuim: [fatal] anthy_init() failed libuim: [fatal] All functionality has been disabled to save user application data. Supported conversion engines: None. aborting...本当は次の部分を見たかった 71 anthy_init(void) 72 { 73 char *hfn; 74 if (is_init_ok) { 75 /* 2度初期化しないように */ 76 return 0; 77 } 78 79 /* 各サブシステムを順に初期化する */ 80 if (anthy_init_dic()) { 81 anthy_log(0, "Failed to initialize dictionary.\n"); 82 return -1; 83 } 84 85 if (anthy_init_splitter()) { 86 anthy_log(0, "Failed to init splitter.\n"); 87 return -1; 88 } 89 anthy_init_contexts(); 90 anthy_init_personality(); 91 anthy_infosort_init(); 92 anthy_relation_init(); 93 94 /**/ 95 default_encoding = ANTHY_EUC_JP_ENCODING; 96 is_init_ok = 1; 97 history_file = NULL; 98 hfn = getenv("ANTHY_HISTORY_FILE"); 99 if (hfn) { 100 history_file = strdup(hfn); 101 } 102 103 /**/ 104 return 0; 105 } ( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||