summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/Makefile4
-rw-r--r--mbbsd/cache.c3
-rw-r--r--mbbsd/mbbsd.c3
3 files changed, 6 insertions, 4 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile
index 85e695f0..9204ead9 100644
--- a/mbbsd/Makefile
+++ b/mbbsd/Makefile
@@ -1,11 +1,11 @@
-# $Id: Makefile,v 1.17 2003/01/19 16:02:25 kcwu Exp $
+# $Id: Makefile,v 1.18 2003/02/10 17:41:45 in2 Exp $
# ­q¸q°ò¥»ªì­È
BBSHOME?= $(HOME)
BBSHOME?= /home/bbs
OSTYPE?= FreeBSD
CC?= gcc
-CFLAGS+= -Wall -W -pipe -DBBSHOME='"$(BBSHOME)"' -I../include
+CFLAGS+= -Wall -pipe -DBBSHOME='"$(BBSHOME)"' -I../include
LDFLAGS+= -pipe -Wall
LIBS+= -lcrypt
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index ae5caad3..023ac8a7 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -1,4 +1,4 @@
-/* $Id: cache.c,v 1.57 2003/01/24 19:48:14 in2 Exp $ */
+/* $Id: cache.c,v 1.58 2003/02/10 17:41:45 in2 Exp $ */
#include "bbs.h"
#ifndef __FreeBSD__
@@ -476,6 +476,7 @@ purge_utmp(userinfo_t * uentp)
{
logout_friend_online(uentp);
memset(uentp, 0, sizeof(userinfo_t));
+ SHM->UTMPneedsort = 1;
}
#endif
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 2ef59687..3a5828b0 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.65 2003/01/24 19:48:14 in2 Exp $ */
+/* $Id: mbbsd.c,v 1.66 2003/02/10 17:41:45 in2 Exp $ */
#include "bbs.h"
#define SOCKET_QLEN 4
@@ -743,6 +743,7 @@ setup_utmp(int mode)
if (enter_uflag & CLOAK_FLAG)
uinfo.invisible = YEA;
getnewutmpent(&uinfo);
+ SHM->UTMPneedsort = 1;
#ifndef _BBS_UTIL_C_
friend_load();
nice(3);