summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-05 03:46:16 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-05 03:46:16 +0800
commit849e8bdccab33fa65d599b8f0bddf8819f499553 (patch)
treea9376a18fae9b4774b68d28ec7b0a8061dc4128c /mbbsd/mbbsd.c
parentd5c9ccc6c80d8aa8ed5ba8533ddfb9629c55b237 (diff)
downloadpttbbs-849e8bdccab33fa65d599b8f0bddf8819f499553.tar
pttbbs-849e8bdccab33fa65d599b8f0bddf8819f499553.tar.gz
pttbbs-849e8bdccab33fa65d599b8f0bddf8819f499553.tar.bz2
pttbbs-849e8bdccab33fa65d599b8f0bddf8819f499553.tar.lz
pttbbs-849e8bdccab33fa65d599b8f0bddf8819f499553.tar.xz
pttbbs-849e8bdccab33fa65d599b8f0bddf8819f499553.tar.zst
pttbbs-849e8bdccab33fa65d599b8f0bddf8819f499553.zip
remove mmap
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@411 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 2b33fc2c..ae560338 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.36 2002/06/30 14:33:14 in2 Exp $ */
+/* $Id: mbbsd.c,v 1.37 2002/07/04 19:46:16 in2 Exp $ */
#include "bbs.h"
#define SOCKET_QLEN 4
@@ -956,8 +956,8 @@ start_client ()
dup2 (0, 1);
- /* mmap passwd file */
- if (passwd_mmap ())
+ /* initialize passwd semaphores */
+ if( passwd_init() )
exit (1);
do_term_init ();