- 主题:请问如何停止telnet下的新用户注册而保留web的
register.c
注册的时候不是输入new么?
把这段卡嚓掉
【 在 xqh@bbs.tongji.edu.cn-SPAM.no (xqh) 的大作中提到: 】
: 谢谢。
--
FROM 159.226.37.*
具体不清楚人家怎么做的
【 在 xqh@bbs.tongji.edu.cn-SPAM.no (xqh) 的大作中提到: 】
: 系统没有提供这个功能的么?好像有的bbs在某些时候会提示:本站暂不提供新用户注册,就是照您说的方法做的么?
--
FROM 159.226.37.*
先恢复register.c, make一下试试
估计你代码本来就有问题
【 在 xqh@bbs.tongji.edu.cn-SPAM.no (xqh) 的大作中提到: 】
: 当然configure过的。
: 我make的时候报错如下:
: make -s all-recursive
: ...................
--
FROM 159.226.37.*
这个问题你问我我问谁呢, 呵呵
提醒你检查一下错误代码吧, 看看是否有人动过, 如果不是你一个人维护的话
【 在 xqh@bbs.tongji.edu.cn-SPAM.no (xqh) 的大作中提到: 】
: 恢复之后make还是有错。。。。
: 如果原来代码就有问题的话那我怎么能装好bbs系统并用了这么久了呢
--
FROM 159.226.37.*
你就看看src/vars.h的50行附近呗
【 在 xqh@bbs.tongji.edu.cn-SPAM.no (xqh) 的大作中提到: 】
: make -s all-recursive
: Making all in libsystem
: [Compiling f_cat.c]
: ...................
--
FROM 159.226.37.*
应该是gcc版本太新了, 不认这个
你改成如下
extern struct commands *cmdlist;
【 在 xqh@bbs.tongji.edu.cn-SPAM.no (xqh) 的大作中提到: 】
: 这是src/vars.h该位置的代码:
: extern struct commands cmdlist[]; /* main menu command list */
: extern jmp_buf byebye; /* Used for exception condition like I/O error */
: ...................
--
FROM 159.226.37.*
说的也是
现在没几个smth 1.2 的站了
【 在 atppp (Big Mouse) 的大作中提到: 】
: 这六句话tooold,通通注释掉
--
修改:jiangjun2000 FROM 159.226.37.*
FROM 159.226.37.*