Remove some user private files and bump version nr.

This commit is contained in:
Michiel Broek 2006-12-22 20:16:20 +00:00
parent 1897338165
commit c3251f739f
5 changed files with 25 additions and 8 deletions

View File

@ -1,6 +1,13 @@
$Id$
v0.91.0 08-Oct-2006
v0.91.1 22-Dec-2006
mbsebbs:
Remove some private user files from the users home directory
during logoff.
v0.91.0 08-Oct-2006 - 22-Dec-2006
script:
Fixed problems with newer joe editor versions.

4
TODO
View File

@ -1,6 +1,6 @@
$Id$
MBSE BBS V0.91.0 TODO list.
MBSE BBS V0.91.1 TODO list.
---------------------------
These are a list of things that must be implemented one way or
@ -37,8 +37,6 @@ everything:
limitations. A php API should be added too.
mbsebbs:
U: Remove $HOME/.quote during hangup/logoff.
W: OLR, implement file requests.
N: Only count posted messages in local mail areas.

2
configure vendored
View File

@ -1718,7 +1718,7 @@ SUBDIRS="lib mbcico mbfido mbmon mbsebbs mbutils mbnntp mbtask mbsetup unix lang
PACKAGE="mbsebbs"
MAJOR="0"
MINOR="91"
REVISION="0"
REVISION="1"
VERSION="$MAJOR.$MINOR.$REVISION"
COPYRIGHT="Copyright (C) 1997-2006 Michiel Broek, All Rights Reserved"
SHORTRIGHT="Copyright (C) 1997-2006 M. Broek"

View File

@ -13,7 +13,7 @@ dnl
PACKAGE="mbsebbs"
MAJOR="0"
MINOR="91"
REVISION="0"
REVISION="1"
VERSION="$MAJOR.$MINOR.$REVISION"
COPYRIGHT="Copyright (C) 1997-2006 Michiel Broek, All Rights Reserved"
SHORTRIGHT="Copyright (C) 1997-2006 M. Broek"

View File

@ -4,7 +4,7 @@
* Purpose ...............: Hangup functions
*
*****************************************************************************
* Copyright (C) 1997-2005
* Copyright (C) 1997-2006
*
* Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10
@ -140,12 +140,24 @@ void Good_Bye(int onsig)
sleep(1);
/*
* Start shutting down this session
* Start shutting down this session, cleanup some files.
*/
socket_shutdown(mypid);
snprintf(temp, PATH_MAX, "%s/tmp/mbsebbs%d", getenv("MBSE_ROOT"), getpid());
unlink(temp);
snprintf(temp, PATH_MAX, "%s/%s/.quote", CFG.bbs_usersdir, exitinfo.Name);
unlink(temp);
snprintf(temp, PATH_MAX, "%s/%s/data.msg", CFG.bbs_usersdir, exitinfo.Name);
unlink(temp);
snprintf(temp, PATH_MAX, "%s/%s/door.sys", CFG.bbs_usersdir, exitinfo.Name);
unlink(temp);
snprintf(temp, PATH_MAX, "%s/%s/door32.sys", CFG.bbs_usersdir, exitinfo.Name);
unlink(temp);
snprintf(temp, PATH_MAX, "%s/%s/exitinfo", CFG.bbs_usersdir, exitinfo.Name);
unlink(temp);
free(temp);