LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: gxcooo

BitStorm Lite 0.2b released

[复制链接]
 楼主| 发表于 2006-1-17 10:41:48 | 显示全部楼层
to athlon_r:
记错了,是改PeerAcceptor.cpp里的7681~7690,改成你需要的范围
回复 支持 反对

使用道具 举报

 楼主| 发表于 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,公社啥时候能好啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-17 10:53:12 | 显示全部楼层
Post by biinn
在archlinux下,下载了源码,编译安装没问题,
启动后选择种子和存盘路径,点击'OK'后,弹出对话框:

Warning
Can not start SocketReactor,

点'OK'后,程序退出。有谁知道为什么吗?


BitStorm Lite现在不支持非2.6内核
回复 支持 反对

使用道具 举报

发表于 2006-1-17 11:19:47 | 显示全部楼层
Post by gxcooo
KanKer能给我一个会导致崩溃的torrent文件吗?我不明白g_filename_from_utf8为什么会转换出错

btw,公社啥时候能好啊?


只要是先打开 bitstormlite ,再选择 torrent 文件,随便一个中文名字的 torrent 都会崩溃(不知跟 locale 有没有关系)。

另还有一个补丁是修正在非 utf8 locale 下 psf 文件名乱码的问题,如下:

--- BitStormLite-0.2b/src/Storage.cpp.orig        2005-12-09 15:02:32.000000000 +0000
+++ BitStormLite-0.2b/src/Storage.cpp        2006-01-17 10:48:27.000000000 +0000
@@ -211,7 +211,7 @@
        if(_task->getTorrentFile()->IsUTF8Valid())
        {
                std::string path = _destDir + _task->getTorrentFile()->getTopDirUTF8();
-                _psfPath = filename_from_utf8(path.c_str()) + '/' +_task->getTaskName() + ".psf";
+                _psfPath = filename_from_utf8(path.c_str()) + '/' +filename_from_utf8(_task->getTaskName().c_str()) + ".psf";
        }
        else
        {

ps. 公社服务器正在紧张的迁移中,何时好还不清楚。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-17 13:07:19 | 显示全部楼层
我都是用命令行参数打开torrent的,怪不得,回家试试

谢谢KanKer和sunmoon1997
回复 支持 反对

使用道具 举报

发表于 2006-1-17 19:46:35 | 显示全部楼层
BitStorm Lite现在不支持非2.6内核
Archlinux currently runs on 2.6.14.5, unless he used a customized kernel.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-17 21:02:29 | 显示全部楼层
Post by ganloo
Archlinux currently runs on 2.6.14.5, unless he used a customized kernel.

那就是glibc太老,不支持epoll
回复 支持 反对

使用道具 举报

发表于 2006-1-17 21:51:24 | 显示全部楼层
Post by gxcooo
那就是glibc太老,不支持epoll


Arch linux的所有组件都不陈旧 应该是说是很新才对 一般软件正式发布的2天内就更新了(...几乎每天都更新...)

不过我用的就是ArchLinux 一切正常
ArchLinux 0.71 没开test源........
回复 支持 反对

使用道具 举报

发表于 2006-1-17 22:28:00 | 显示全部楼层
Post by ganloo
Archlinux currently runs on 2.6.14.5, unless he used a customized kernel.


我用的是2.4 的内核,有时间在2.6内核下试试bitstorm。
安装arch时,同时有三个内核可选:2.4IDE, 2.4SCSI, 和2.6(当然不只三个选项)。用2.4不需要定制。
回复 支持 反对

使用道具 举报

发表于 2006-1-18 10:08:54 | 显示全部楼层
redhat as4 gtk版本太低,安装不了。有解决的方法吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表