-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sync or merge content util/utmp-dump.c and maple/talk.c #50
Labels
Comments
There are actually more functions in |
IepIweidieng
added a commit
that referenced
this issue
May 19, 2021
…ref: #50] * Add lib/acct.c to the source file lists * lib/CMakeLists.txt & lib/Makefile * Move functions free of bbsd globals in maple/acct.c to lib/acct.c: * keeplog() * maple/acct.c * util/account.c * util/brdstat.c * util/stopperm.c * acct_load() * maple/acct.c * maple/xchatd.c * util/bbsmail.c * util/stopperm.c * acct_save() * maple/acct.c * util/addsong.c * util/resetvmail.c * util/stopperm.c * util/template.c * util/tranufo.c * seek_log_email() * maple/acct.c (static) * util/stopperm.c * deny_log_email() * maple/acct.c * util/stopperm.c * static deny_add_email() * maple/acct.c * util/stopperm.c * add_deny_exer() (duplicated with maple/acct.c add_deny()) * util/stopperm.c * Other non-duplicated functions from maple/acct.c: * acct_userno() * maple/acct.c * addmoney() * addpoint1() * addpoint2() * ban_addr() * Add ban_addr_tlogger & ban_addr_tlogger_init() for log message output * allow_addr() * Drop the `#ifdef HAVE_WRITE` compilation condition * Make the function non-static * check_nckuemail() * find_same_email() * lib/acct.c keeplog(): * Redefine the formerly case where arg `mode` == 3 in util/account.c, which behaviored as rename+mark rather than load+mark, as the new case where arg `mode` == 4 * Refine the description for param `mode` for the easiness of comprehension * maple/acct.c add_deny(): * Move and merge the main logic to add_deny_exer() * util/stopperm.c add_deny_exer() -> lib/acct.c add_deny_exer(): * Make the behaviors consistent with the former add_deny() * Make suspension duration accumulate * Keep the content of user's FN_STOPPERM_LOG when appending messages, since suspension duration now accumulates * Unify the message text * maple/acct.c ban_addr() -> lib/acct.c ban_addr(): * Rewrite message logging with logger_tag() & TLogger * Add static TLogger object ban_addr_tlogger * Add ban_addr_tlogger_init() * Invoke it before the first call to ban_addr() * maple/bbsd.c main()
IepIweidieng
added a commit
that referenced
this issue
May 19, 2021
…ref: #50] * Add lib/acct.c to the source file lists * lib/CMakeLists.txt & lib/Makefile * Move functions free of bbsd globals in maple/acct.c to lib/acct.c: * keeplog() * maple/acct.c * util/account.c * util/brdstat.c * util/stopperm.c * acct_load() * maple/acct.c * maple/xchatd.c * util/bbsmail.c * util/stopperm.c * acct_save() * maple/acct.c * util/addsong.c * util/resetvmail.c * util/stopperm.c * util/template.c * util/tranufo.c * seek_log_email() * maple/acct.c (static) * util/stopperm.c * deny_log_email() * maple/acct.c * util/stopperm.c * static deny_add_email() * maple/acct.c * util/stopperm.c * add_deny_exer() (duplicated with maple/acct.c add_deny()) * util/stopperm.c * Other non-duplicated functions from maple/acct.c: * acct_userno() * maple/acct.c * addmoney() * addpoint1() * addpoint2() * ban_addr() * Add ban_addr_tlogger & ban_addr_tlogger_init() for log message output * allow_addr() * Drop the `#ifdef HAVE_WRITE` compilation condition * Make the function non-static * check_nckuemail() * find_same_email() * Refine the whitespace usage of function parameter lists * lib/acct.c keeplog(): * Redefine the formerly case where arg `mode` == 3 in util/account.c, which behaviored as rename+mark rather than load+mark, as the new case where arg `mode` == 4 * Refine the description for param `mode` for the easiness of comprehension * maple/acct.c add_deny(): * Move and merge the main logic to add_deny_exer() * util/stopperm.c add_deny_exer() -> lib/acct.c add_deny_exer(): * Make the behaviors consistent with the former add_deny() * Make suspension duration accumulate * Keep the content of user's FN_STOPPERM_LOG when appending messages, since suspension duration now accumulates * Unify the message text * maple/acct.c ban_addr() -> lib/acct.c ban_addr(): * Rewrite message logging with logger_tag() & TLogger * Add static TLogger object ban_addr_tlogger * Add ban_addr_tlogger_init() * Invoke it before the first call to ban_addr() * maple/bbsd.c main()
IepIweidieng
added a commit
that referenced
this issue
May 19, 2021
…ref: #50] * Add lib/acct.c to the source file lists * lib/CMakeLists.txt & lib/Makefile * Move functions free of bbsd globals in maple/acct.c to lib/acct.c: * keeplog() * maple/acct.c * util/account.c * util/brdstat.c * util/stopperm.c * acct_load() * maple/acct.c * maple/xchatd.c * util/bbsmail.c * util/stopperm.c * acct_save() * maple/acct.c * util/addsong.c * util/resetvmail.c * util/stopperm.c * util/template.c * util/tranufo.c * seek_log_email() * maple/acct.c (static) * util/stopperm.c * deny_log_email() * maple/acct.c * util/stopperm.c * static deny_add_email() * maple/acct.c * util/stopperm.c * add_deny_exer() (duplicated with maple/acct.c add_deny()) * util/stopperm.c * Other non-duplicated functions from maple/acct.c: * acct_userno() * maple/acct.c * addmoney() * addpoint1() * addpoint2() * ban_addr() * Add ban_addr_tlogger & ban_addr_tlogger_init() for log message output * allow_addr() * Drop the `#ifdef HAVE_WRITE` compilation condition * Make the function non-static * check_nckuemail() * find_same_email() * Refine the whitespace usage of function parameter lists * lib/acct.c keeplog(): * Redefine the formerly case where arg `mode` == 3 in util/account.c, which behaviored as rename+mark rather than load+mark, as the new case where arg `mode` == 4 * Refine the description for param `mode` for the easiness of comprehension * maple/acct.c add_deny(): * Move and merge the main logic to add_deny_exer() * util/stopperm.c add_deny_exer() -> lib/acct.c add_deny_exer(): * Make the behaviors consistent with the former add_deny() * Make suspension duration accumulate * Keep the content of user's FN_STOPPERM_LOG when appending messages, since suspension duration now accumulates * Unify the message text * maple/acct.c ban_addr() -> lib/acct.c ban_addr(): * Rewrite message logging with logger_tag() & TLogger * Add static TLogger object ban_addr_tlogger * Add ban_addr_tlogger_init() * Invoke it before the first call to ban_addr() * maple/bbsd.c main()
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
maybe usages are different, need to be checked.
The text was updated successfully, but these errors were encountered: