diff --git a/ChangeLog b/ChangeLog index 09287384..7e52d28a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,11 @@ v0.71.1 28-Nov-2004 so that mbfido won't start before the bbs is finished. Removed bbslist menus, this will become a door. Added #define NFGVMIN 1 in openport. + During hangup we set sighup to ignore. + Made zmodem-8k downloads work again. + + mbnewuser: + During hangup we set sighup to ignore. examples: Removed bbs list items from the English menus and txtfiles and diff --git a/mbsebbs/bye.c b/mbsebbs/bye.c index a10f50f3..e60b3758 100644 --- a/mbsebbs/bye.c +++ b/mbsebbs/bye.c @@ -120,7 +120,10 @@ void Good_Bye(int onsig) if ((onsig != SIGALRM) && (onsig != MBERR_TIMEOUT) && (hanged_up == 0)) { cookedport(); } -Syslog('b', "Will hangup"); + + /* + * Ignore SIGHUP during hangup. + */ signal(SIGHUP, SIG_IGN); hangup(); @@ -128,7 +131,6 @@ Syslog('b', "Will hangup"); if ((i == SIGHUP) || (i == SIGPIPE) || (i == SIGBUS) || (i == SIGILL) || (i == SIGSEGV) || (i == SIGTERM)) signal(i, SIG_DFL); } -Syslog('b', "Restored signals"); if (do_mailout) CreateSema((char *)"mailout"); diff --git a/mbsebbs/transfer.c b/mbsebbs/transfer.c index b3a38bfd..e237d193 100644 --- a/mbsebbs/transfer.c +++ b/mbsebbs/transfer.c @@ -242,7 +242,7 @@ int download(down_list *download_list) if (uProtInternal) { sprintf(temp, "%s/%s/tag", CFG.bbs_usersdir, exitinfo.Name); chdir(temp); - if (strncasecmp(sProtName, "zmodem 8k", 9) == 0) { + if (strncasecmp(sProtName, "zmodem-8k", 9) == 0) { maxrc = zmsndfiles(download_list, TRUE); Home(); } else if (strncasecmp(sProtName, "zmodem", 6) == 0) {