From c3251f739f39d5ed55918541ecee93bddf9044ba Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Fri, 22 Dec 2006 20:16:20 +0000 Subject: [PATCH] Remove some user private files and bump version nr. --- ChangeLog | 9 ++++++++- TODO | 4 +--- configure | 2 +- configure.in | 2 +- mbsebbs/bye.c | 16 ++++++++++++++-- 5 files changed, 25 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9de86710..33b07fec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/TODO b/TODO index fae930da..768fdd2c 100644 --- a/TODO +++ b/TODO @@ -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. diff --git a/configure b/configure index 55f83882..c9045f58 100755 --- a/configure +++ b/configure @@ -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" diff --git a/configure.in b/configure.in index 3bb8d752..3c37ccc3 100644 --- a/configure.in +++ b/configure.in @@ -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" diff --git a/mbsebbs/bye.c b/mbsebbs/bye.c index 7f36806c..ec4f63a1 100644 --- a/mbsebbs/bye.c +++ b/mbsebbs/bye.c @@ -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);