按照这样patch以后,采用
./configure --prefix=/bbs --enable-site=fb2k-v2 --without-mysql CFLAGS= -g --disable-www
这样的方式去编译安装,则没有问题,如果在configure的时候添加了mysql,ssl,ssh或者www等发文章就又和原来一样掉线了,出错的地方也一样
(gdb) bt
#0 0xff04f678 in strncasecmp () from /usr/lib/libc.so.1
#1 0x0007438c in getboardnum (bname=0xfef10000 <Address 0xfef10000 out of bounds>, bh=0x0) at bcache.c:260
#2 0x00073a00 in get_nextid (boardname=0xfef10000 <Address 0xfef10000 out of bounds>) at bcache.c:135
#3 0x000c64e8 in after_post (user=0xfef10000, fh=0x2, boardname=0x128408 ".DIR", re=0xc6420,
poststat=-12674420) at article.c:962
【 在 flyriver (江~~每天进步一点点) 的大作中提到: 】
: 用下面这个 patch 试一下吧,我手头没有 Solaris 8 SPARC 可以测试。
: $ cvs diff -uN -r 3.69.2.1 -r 3.69.2.2 bcache.c
: Index: bcache.c
: ...................
--
修改:buttcher FROM 202.119.32.*
FROM 202.119.32.*