You are not logged in. This forum allows only logged in users to post. If you want to post in the forum, please log in.
下載
軟體開發
帳戶
下載
軟體開發
登入
我忘記帳戶名和密碼了
新增帳戶
語言
手冊
語言
手冊
×
登入
登入名稱
密碼
×
我忘記帳戶名和密碼了
繁體中文翻譯狀態
類別:
軟體
人
PersonalForge
Magazine
Wiki
搜尋
OSDN
>
軟體搜索
>
inkf - yet another network kanji filter
>
討論區
>
公開討論
>
バグ報告
inkf - yet another network kanji filter
描述
專案概要
開發人員儀表板
專案的網頁
Developers
Image Gallery
List of RSS Feeds
活動
使用統計
歷史
檔案下載
發布列表
Stats
溝通
討論區列表
開發者論壇 (1)
幫助論壇 (1)
公開討論 (5)
新聞
討論區:
公開討論
(Thread #23797)
Return to Thread list
RSS
バグ報告 (2009-09-03 23:35 by
efialtes
#45690)
報告チケットが吹っ飛んだんでサマリだけ
(1) Ubuntu 9.04 で configure が異常終了する。
(2) -Sj の結果がおかしい。
RE: バグ報告 (2009-09-15 23:28 by
efialtes
#45924)
とりあえず、-Sj が壊れている問題と、cygwin 環境で distclean 時にごみが残る問題のパッチ。configure は正直見る気が起きない。
# sjis_to_eucjp と sjis_to_jis のロジックが全く別で、一方が壊れているのはどうかと思う。
------>8------------>8------------>8------------>8------------>8
diff -aurN inkf-1.0.6.orig/configure inkf-1.0.6/configure
--- inkf-1.0.6.orig/configure 2009-07-29 19:52:53.000000000 +0900
+++ inkf-1.0.6/configure 2009-09-15 23:22:09.000000000 +0900
@@ -55,6 +55,7 @@
WITH_OPENSSL=0
fi
${RM} conftest.cc
+ ${RM} conftest.exe
fi
for arg in $@; do
diff -aurN inkf-1.0.6.orig/libapolloron/.DS_Store inkf-1.0.6/libapolloron/.DS_Store
diff -aurN inkf-1.0.6.orig/libapolloron/src/charset.cc inkf-1.0.6/libapolloron/src/charset.cc
--- inkf-1.0.6.orig/libapolloron/src/charset.cc 2009-07-29 19:48:57.000000000 +0900
+++ inkf-1.0.6/libapolloron/src/charset.cc 2009-09-15 23:21:48.000000000 +0900
@@ -1638,8 +1638,8 @@
i = 0;
j = 0;
while (i < length) {
- a0 = (unsigned char)str[i++];
- if (0x81 < (unsigned char)str[i] && (unsigned char)str[i] <= 0x9F) {
+ a0 = (unsigned char)str[i];
+ if (0x81 <= (unsigned char)str[i] && (unsigned char)str[i] <= 0x9F) {
// Kanji
// From division 1 to division 62
a1 = str[i+1];
@@ -1665,7 +1665,7 @@
}
buf[j++] = a0;
buf[j] = a1;
- i++;
+ i += 2;
} else if (0xE0 <= (unsigned char)str[i] && (unsigned char)str[i] <= 0xF9) {
// From division 63 to division 94
a0 = (str[i] - 0xE0) << 1;
@@ -1689,7 +1689,7 @@
}
buf[j++] = a0;
buf[j] = a1;
- i++;
+ i += 2;
} else if (0xFA <= (unsigned char)str[i] && (unsigned char)str[i] <= 0xFC) {
// From division 115 to division 119 to CP50220
unsigned char s1;
@@ -1716,7 +1716,7 @@
}
buf[j++] = (linear - 0x819E) / 94;
buf[j] = (linear % 94) + 0x21;
- i++;
+ i += 2;
} else {
// Non-Kanji
if (jiskanji) {
@@ -1726,9 +1726,9 @@
jiskanji = 0;
}
buf[j] = str[i];
+ i += 2;
}
j++;
- i++;
}
if (jiskanji) {
------>8------------>8------------>8------------>8------------>8
回覆:
#45690
RE: バグ報告 (2011-05-20 15:52 by
moomin
#57522)
パッチありがとうございます!!!!
返事が1年半ほど遅れてしまい申し訳ありません。
(SourceForge.JPに慣れていないので、気がつきませんでした。)
次回のアップデート時に反映させていただきます。
しばらくお待ちください。
回覆:
#45924
RE: バグ報告 (2011-05-20 23:47 by
moomin
#57539)
修正版の1.0.8をリリースしました。
回覆:
#57522