可以在 newmain_single.c login_query() 里面统计注册人数
int countusers(struct userec *uentp, char *arg)
{
if (uentp->userid[0]!=0)
return COUNT;
return 0;
}
int allusers()
{
int count;
if ((count = apply_users(countusers, 0)) <= 0) {
return 0;
}
return count;
}
allusers() 函数的返回值就好了。
升级最好全部重新编译。如果想在编译上偷懒可以用cvs,不过别的麻烦就多了赫赫。
【 在 jacky178 (光义) 的大作中提到: 】
: rt.
: 另,升级smth的版本,是否可以不要全部重新编译,比如说从1.2升级到1.2.1,
: 可否利用make update升级呢。 还有这样升级的话需要注意那些。
: ...................
--
FROM 128.12.181.*