|
|

楼主 |
发表于 2006-1-17 10:51:45
|
显示全部楼层
Post by KanKer
gxcooo,你修正一下用 bitstormlite 打开 torrent 文件会崩溃这个 bug 吧。感谢 sunmoon1997 给出补丁:
--- BitStormLite-0.2b/src/utils.h.orig 2006-01-16 20:51:12.000000000 +0000
+++ BitStormLite-0.2b/src/utils.h 2006-01-16 20:45:22.000000000 +0000
@@ -380,7 +380,7 @@
gsize bytes_written;
gchar* ret = g_filename_from_utf8(input_text, -1, &bytes_read, &bytes_written, NULL);
- std::string result = ret;
+ std::string result = ret ? ret : input_text;
g_free(ret);
return result;
KanKer能给我一个会导致崩溃的torrent文件吗?我不明白g_filename_from_utf8为什么会转换出错
btw,公社啥时候能好啊? |
|