diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-31 01:59:41 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-31 01:59:41 +0800 |
commit | 34ee949b62080483a420c5efe90e156243dd0a03 (patch) | |
tree | c980e6d6d84f27deff7df7b1464ad4f32d6e3806 | |
parent | 8e2fc814612ecd7c37c8518fba0884029b50c0cf (diff) | |
download | pttbbs-34ee949b62080483a420c5efe90e156243dd0a03.tar pttbbs-34ee949b62080483a420c5efe90e156243dd0a03.tar.gz pttbbs-34ee949b62080483a420c5efe90e156243dd0a03.tar.bz2 pttbbs-34ee949b62080483a420c5efe90e156243dd0a03.tar.lz pttbbs-34ee949b62080483a420c5efe90e156243dd0a03.tar.xz pttbbs-34ee949b62080483a420c5efe90e156243dd0a03.tar.zst pttbbs-34ee949b62080483a420c5efe90e156243dd0a03.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@258 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/board.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 99c015ec..88376c7e 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.25 2002/05/30 17:04:59 ptt Exp $ */ +/* $Id: board.c,v 1.26 2002/05/30 17:59:41 ptt Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -1023,6 +1023,9 @@ static void choose_board(int newflag) { case 'W': if(class_bid > 0 && (HAS_PERM(PERM_SYSOP) || (currmode & MODE_MENU))) { + char buf[128]; + setbpath(buf, bcache[class_bid-1].brdname); + mkdir(buf, 0755) ; //Ptt:¶}¸s²Õ¥Ø¿ý b_note_edit_bname(class_bid); brdnum = -1; } |