diff options
-rw-r--r-- | include/gomo.h | 2 | ||||
-rw-r--r-- | include/proto.h | 1 | ||||
-rw-r--r-- | include/pttstruct.h | 2 | ||||
-rw-r--r-- | mbbsd/admin.c | 19 | ||||
-rw-r--r-- | mbbsd/args.c | 2 | ||||
-rw-r--r-- | mbbsd/bbcall.c | 2 | ||||
-rw-r--r-- | mbbsd/board.c | 180 | ||||
-rw-r--r-- | mbbsd/calendar.c | 2 | ||||
-rw-r--r-- | mbbsd/card.c | 2 | ||||
-rw-r--r-- | mbbsd/dark.c | 2 | ||||
-rw-r--r-- | mbbsd/lovepaper.c | 2 | ||||
-rw-r--r-- | mbbsd/syspost.c | 2 | ||||
-rw-r--r-- | mbbsd/topsong.c | 2 | ||||
-rw-r--r-- | mbbsd/vice.c | 2 | ||||
-rw-r--r-- | pttpi/cgi/Makefile | 2 | ||||
-rw-r--r-- | pttpi/cgi/pttpi.c | 2 | ||||
-rw-r--r-- | pttpi/cgi/t/article.list.pl | 2 | ||||
-rw-r--r-- | pttpi/cgi/t/article.readfn.pl | 2 | ||||
-rw-r--r-- | pttpi/cgi/t/board.getBid.pl | 2 | ||||
-rw-r--r-- | pttpi/cgi/t/board.getBrdInfo.pl | 2 | ||||
-rw-r--r-- | pttpi/cgi/t/board.getNarticle.pl | 2 | ||||
-rw-r--r-- | pttpi/cgi/t/class.list.pl | 2 | ||||
-rw-r--r-- | util/xchatd.h | 2 |
23 files changed, 135 insertions, 105 deletions
diff --git a/include/gomo.h b/include/gomo.h index e2a5a5ca..30556aa9 100644 --- a/include/gomo.h +++ b/include/gomo.h @@ -1,4 +1,4 @@ -/* $Id: gomo.h,v 1.2 2002/06/04 13:07:12 in2 Exp $ */ +/* $Id$ */ #ifndef _INCLUDE_GOMO_H #define _INCLUDE_GOMO_H diff --git a/include/proto.h b/include/proto.h index c36a4b23..93c4a92f 100644 --- a/include/proto.h +++ b/include/proto.h @@ -20,6 +20,7 @@ int m_register(); int cat_register(); unsigned int setperms(unsigned int pbits, char *pstring[]); void setup_man(boardheader_t * board); +int make_symbolic_link(int gid, int bid); /* announce */ int a_menu(char *maintitle, char *path, int lastlevel); diff --git a/include/pttstruct.h b/include/pttstruct.h index a9775d0b..eef261ff 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -162,6 +162,8 @@ typedef struct boardheader_t { #define BRD_NORECOMMEND 000010000 /* 不可推薦 */ #define BRD_BLOG 000020000 /* BLOG */ #define BRD_BMCOUNT 000040000 /* 板主設定列入記錄 */ +#define BRD_SYMBOLIC 000100000 /* symbolic link to board */ + #define TTLEN 64 /* Length of title */ #define FNLEN 33 /* Length of filename */ diff --git a/mbbsd/admin.c b/mbbsd/admin.c index b476d787..bdbae30a 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -675,6 +675,25 @@ m_newbrd(int recover) return 0; } +int make_symbolic_link(int gid, int bid) +{ + boardheader_t newboard; + + stand_title("建立看板連結"); + memset(&newboard, 0, sizeof(newboard)); + + newboard.gid = gid; + newboard.brdattr = BRD_NOTRAN | BRD_SYMBOLIC; + if (append_record(fn_board, (fileheader_t *) & newboard, sizeof(newboard)) == -1) { + vmsg("看板連結建來失敗"); + return -1; + } else { + addbrd_touchcache(); + } + pressanykey(); + return 0; +} + static int auto_scan(char fdata[][STRLEN], char ans[]) { diff --git a/mbbsd/args.c b/mbbsd/args.c index bf36827b..32156517 100644 --- a/mbbsd/args.c +++ b/mbbsd/args.c @@ -1,4 +1,4 @@ -/* $Id: args.c,v 1.8 2003/06/26 01:04:03 kcwu Exp $ */ +/* $Id$ */ #include "bbs.h" #ifdef HAVE_SETPROCTITLE diff --git a/mbbsd/bbcall.c b/mbbsd/bbcall.c index 93fe499d..12d3ec06 100644 --- a/mbbsd/bbcall.c +++ b/mbbsd/bbcall.c @@ -1,4 +1,4 @@ -/* $Id: bbcall.c,v 1.9 2003/06/28 08:44:03 kcwu Exp $ */ +/* $Id$ */ #include "bbs.h" #define SERVER_0941 "www.chips.com.tw" diff --git a/mbbsd/board.c b/mbbsd/board.c index cd2bd5e1..fe2d2a4e 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -261,13 +261,16 @@ brc_unread(const char *fname, int bnum, const int *blist) return 0; } -#define BRD_NULL 0 -#define BRD_FAV 1 -#define BRD_BOARD 2 -#define BRD_LINE 4 -#define BRD_FOLDER 8 -#define BRD_TAG 16 -#define BRD_UNREAD 32 +/* personal board state + * 相對於看板的 attr (BRD_* in ../include/pttstruct.h), + * 這些是因人而異的 flag */ +#define PBS_FAV 1 +#define PBS_BOARD 2 +#define PBS_LINE 4 +#define PBS_FOLDER 8 +#define PBS_TAG 16 +#define PBS_UNREAD 32 + #define FAVNB ".favnb" @@ -284,6 +287,11 @@ static char choose_board_depth = 0; static short brdnum; static char yank_flag = 1; + +#define SYM2TAR_UID(_uid) bcache[_uid - 1].nuser +#define SYM2TAR_BH(_bcache) &bcache[_bcache->nuser - 1] + + #define BRD_OLD 0 #define BRD_NEW 1 #define BRD_END 2 @@ -439,7 +447,7 @@ check_newpost(boardstat_t * ptr) int tbrc_list[BRC_MAXNUM], tbrc_num; time_t ftime; - ptr->myattr &= ~BRD_UNREAD; + ptr->myattr &= ~PBS_UNREAD; if (B_BH(ptr)->brdattr & BRD_GROUPBOARD) return 0; @@ -453,7 +461,7 @@ check_newpost(boardstat_t * ptr) if ( brc_read_record(B_BH(ptr)->brdname, &tbrc_num, tbrc_list) == 0 || brc_unread_time(ftime, tbrc_num, tbrc_list) ) - ptr->myattr |= BRD_UNREAD; + ptr->myattr |= PBS_UNREAD; return 1; } @@ -498,10 +506,10 @@ addnewbrdstat(int n, int state) ptr->bid = n + 1; ptr->myattr = state; - if ((B_BH(ptr)->brdattr & BRD_HIDE) && state == BRD_BOARD) + if ((B_BH(ptr)->brdattr & BRD_HIDE) && state == PBS_BOARD) B_BH(ptr)->brdattr |= BRD_POSTMASK; if (yank_flag != 0) - ptr->myattr &= ~BRD_FAV; + ptr->myattr &= ~PBS_FAV; check_newpost(ptr); return ptr; } @@ -544,17 +552,17 @@ load_boards(char *key) if ( !key[0] ){ if (get_item_type(&fav->favh[i]) == FAVT_LINE ) - state = BRD_LINE; + state = PBS_LINE; else if (get_item_type(&fav->favh[i]) == FAVT_FOLDER ) - state = BRD_FOLDER; + state = PBS_FOLDER; else { bptr = &bcache[ fav_getid(&fav->favh[i]) - 1]; if( yank_flag == 0 ) - state = BRD_BOARD; + state = PBS_BOARD; else continue; if (is_set_attr(&fav->favh[i], FAVH_UNREAD)) - state |= BRD_UNREAD; + state |= PBS_UNREAD; } } else { if (get_item_type(&fav->favh[i]) == FAVT_LINE ) @@ -564,25 +572,25 @@ load_boards(char *key) get_folder_title(fav_getid(&fav->favh[i])), key) ) - state = BRD_FOLDER; + state = PBS_FOLDER; else continue; }else{ bptr = &bcache[ fav_getid(&fav->favh[i]) - 1]; if( Ben_Perm(bptr) && strcasestr(bptr->title, key)) - state = BRD_BOARD; + state = PBS_BOARD; else continue; if (is_set_attr(&fav->favh[i], FAVH_UNREAD)) - state |= BRD_UNREAD; + state |= PBS_UNREAD; } } if (is_set_attr(&fav->favh[i], FAVH_TAG)) - state |= BRD_TAG; + state |= PBS_TAG; if (is_set_attr(&fav->favh[i], FAVH_ADM_TAG)) - state |= BRD_TAG; - addnewbrdstat(fav_getid(&fav->favh[i]) - 1, BRD_FAV | state); + state |= PBS_TAG; + addnewbrdstat(fav_getid(&fav->favh[i]) - 1, PBS_FAV | state); } if (brdnum == 0) addnewbrdstat(0, 0); @@ -601,6 +609,11 @@ load_boards(char *key) (key[0] && !strcasestr(bptr->title, key)) || (class_bid == -1 && bptr->nuser < 5)) continue; + if (bptr->brdattr & BRD_SYMBOLIC) { + bptr = SYM2TAR_BH(bptr); + n = SYM2TAR_UID(n + 1) - 1; + // "state" is set since B_BH get the target stuff + } addnewbrdstat(n, state); } #ifdef CRITICAL_MEMORY @@ -620,7 +633,7 @@ load_boards(char *key) bptr = bptr->next[type]) { n = (int)(bptr - bcache); if (!((state = Ben_Perm(bptr)) || (currmode & MODE_MENU)) - || (yank_flag == 0 && !(getbrdattr(n) & BRD_FAV)) || + || (yank_flag == 0 && !(getbrdattr(n) & PBS_FAV)) || (key[0] && !strcasestr(bptr->title, key))) continue; addnewbrdstat(n, state); @@ -653,7 +666,7 @@ search_board() CreateNameList(); for (num = 0; num < brdnum; num++) if (yank_flag != 0 || - (nbrd[num].myattr & BRD_BOARD && Ben_Perm(B_BH(&nbrd[num]))) ) + (nbrd[num].myattr & PBS_BOARD && Ben_Perm(B_BH(&nbrd[num]))) ) AddNameList(B_BH(&nbrd[num])->brdname); namecomplete(MSG_SELECT_BOARD, genbuf); FreeNameList(); @@ -674,7 +687,7 @@ unread_position(char *dirfile, boardstat_t * ptr) total = B_TOTAL(ptr); num = total + 1; - if ((ptr->myattr & BRD_UNREAD) && (fd = open(dirfile, O_RDWR)) > 0) { + if ((ptr->myattr & PBS_UNREAD) && (fd = open(dirfile, O_RDWR)) > 0) { if (!brc_initial(B_BH(ptr)->brdname)) { num = 1; } else { @@ -709,11 +722,11 @@ unread_position(char *dirfile, boardstat_t * ptr) static char get_fav_type(boardstat_t *ptr) { - if (ptr->myattr & BRD_FOLDER) + if (ptr->myattr & PBS_FOLDER) return FAVT_FOLDER; - else if (ptr->myattr & BRD_BOARD) + else if (ptr->myattr & PBS_BOARD) return FAVT_BOARD; - else if (ptr->myattr & BRD_LINE) + else if (ptr->myattr & PBS_LINE) return FAVT_LINE; return 0; } @@ -778,22 +791,22 @@ show_brdlist(int head, int clsflag, int newflag) clrtoeol(); if (head < brdnum) { ptr = &nbrd[head++]; - if (ptr->myattr & BRD_LINE){ + if (ptr->myattr & PBS_LINE){ if( !newflag ) prints("%5d %c %s------------ ------------------------------------------\033[m", head, - ptr->myattr & BRD_TAG ? 'D' : ' ', - ptr->myattr & BRD_FAV ? "" : "\033[1;30m"); + ptr->myattr & PBS_TAG ? 'D' : ' ', + ptr->myattr & PBS_FAV ? "" : "\033[1;30m"); else - prints(" %s------------ ------------------------------------------\033[m", ptr->myattr & BRD_FAV ? "" : "\033[1;30m"); + prints(" %s------------ ------------------------------------------\033[m", ptr->myattr & PBS_FAV ? "" : "\033[1;30m"); continue; } - else if (ptr->myattr & BRD_FOLDER){ + else if (ptr->myattr & PBS_FOLDER){ char *title = get_folder_title(ptr->bid); if( !newflag ) prints("%5d %c %sMyFavFolder\033[m 目錄 □%-34s\033[m", head, - ptr->myattr & BRD_TAG ? 'D' : ' ', + ptr->myattr & PBS_TAG ? 'D' : ' ', !(cuser.uflag2 & FAVNOHILIGHT) ? "\033[1;36m" : "", title); else @@ -810,15 +823,15 @@ show_brdlist(int head, int clsflag, int newflag) prints("%5d%c%s", head, !(B_BH(ptr)->brdattr & BRD_HIDE) ? ' ' : (B_BH(ptr)->brdattr & BRD_POSTMASK) ? ')' : '-', - (ptr->myattr & BRD_TAG) ? "D " : + (ptr->myattr & PBS_TAG) ? "D " : (B_BH(ptr)->brdattr & BRD_GROUPBOARD) ? " " : - unread[ptr->myattr & BRD_UNREAD ? 1 : 0]); + unread[ptr->myattr & PBS_UNREAD ? 1 : 0]); } else { if (B_BH(ptr)->brdattr & BRD_GROUPBOARD) prints(" "); else prints("%6d%s", (int)(B_TOTAL(ptr)), - unread[ptr->myattr & BRD_UNREAD ? 1 : 0]); + unread[ptr->myattr & PBS_UNREAD ? 1 : 0]); } if (class_bid != 1) { if (!(currmode & MODE_MENU) && !Ben_Perm(B_BH(ptr))) { @@ -906,7 +919,8 @@ choose_board(int newflag) static short num = 0; boardstat_t *ptr; int head = -1, ch = 0, currmodetmp, tmp, tmp1, bidtmp; - char keyword[13] = ""; + char keyword[13] = "", buf[64]; + setutmpmode(newflag ? READNEW : READBRD); if( get_current_fav() == NULL ) @@ -955,7 +969,7 @@ choose_board(int newflag) tmp = num; while (num < brdnum) { ptr = &nbrd[num]; - if (ptr->myattr & BRD_UNREAD) + if (ptr->myattr & PBS_UNREAD) break; num++; } @@ -1030,12 +1044,12 @@ choose_board(int newflag) } else if (yank_flag != 0) { /* 站長管理用的 tag */ - if (ptr->myattr & BRD_TAG) + if (ptr->myattr & PBS_TAG) set_attr(getadmtag(ptr->bid), FAVH_ADM_TAG, 0); else fav_add_admtag(ptr->bid); } - ptr->myattr ^= BRD_TAG; + ptr->myattr ^= PBS_TAG; head = 9999; case KEY_DOWN: case 'n': @@ -1078,16 +1092,13 @@ choose_board(int newflag) break; case 'S': if(yank_flag == 0){ - char input[4]; move(b_lines - 2, 0); prints("重新排序看板 " "\033[1;33m(注意, 這個動作會覆寫原來設定)\033[m \n"); - getdata(b_lines - 1, 0, - "排序方式 (1)按照板名排序 (2)按照類別排序 ==> [0]取消 ", - input, sizeof(input), DOECHO); - if( input[0] == '1' ) + tmp = getans("排序方式 (1)按照板名排序 (2)按照類別排序 ==> [0]取消 "); + if( tmp == '1' ) fav_sort_by_name(); - else if( input[0] == '2' ) + else if( tmp == '2' ) fav_sort_by_class(); } else @@ -1132,8 +1143,22 @@ choose_board(int newflag) brdnum = -1; } break; + case Ctrl('L'): + if (HAS_PERM(PERM_SYSOP) && yank_flag) { + tmp = generalnamecomplete("請輸入看板英文名稱:", + buf, sizeof(buf), + SHM->Bnumber, + completeboard_compar, + completeboard_permission, + completeboard_getname); + if (tmp >= 0) + make_symbolic_link(class_bid, tmp); + brdnum = -1; + head = 9999; + } + break; case 'L': - if (HAS_PERM(PERM_BASIC)) { + if (HAS_PERM(PERM_BASIC) && yank_flag == 0) { if (fav_add_line() == NULL) { vmsg("新增失敗,分隔線/總最愛 數量達最大值。"); break; @@ -1149,23 +1174,23 @@ choose_board(int newflag) if (HAS_PERM(PERM_BASIC)) { ptr = &nbrd[num]; if (yank_flag == 0) { - if (ptr->myattr & BRD_FAV) { + if (ptr->myattr & PBS_FAV) { if (getans("你確定刪除嗎? [N/y]") != 'y') break; fav_remove_item(ptr->bid, get_fav_type(ptr)); - ptr->myattr &= ~BRD_FAV; + ptr->myattr &= ~PBS_FAV; } } else { if (getboard(ptr->bid) != NULL) { fav_remove_item(ptr->bid, FAVT_BOARD); - ptr->myattr &= ~BRD_FAV; + ptr->myattr &= ~PBS_FAV; } else { if (fav_add_board(ptr->bid) == NULL) vmsg("你的最愛太多了啦 真花心"); else - ptr->myattr |= BRD_FAV; + ptr->myattr |= PBS_FAV; } } brdnum = -1; @@ -1201,18 +1226,17 @@ choose_board(int newflag) } break; case 'T': - if (HAS_PERM(PERM_BASIC) && nbrd[num].myattr & BRD_FOLDER) { - char title[64]; + if (HAS_PERM(PERM_BASIC) && nbrd[num].myattr & PBS_FOLDER) { fav_type_t *ft = getfolder(nbrd[num].bid); - strlcpy(title, get_item_title(ft), sizeof(title)); - getdata_buf(b_lines - 1, 0, "請輸入檔名:", title, sizeof(title), DOECHO); - fav_set_folder_title(ft, title); + strlcpy(buf, get_item_title(ft), sizeof(buf)); + getdata_buf(b_lines - 1, 0, "請輸入板名:", buf, 65, DOECHO); + fav_set_folder_title(ft, buf); brdnum = -1; } break; case 'K': if (HAS_PERM(PERM_BASIC)) { - char c, fname[80], genbuf[256]; + char c, fname[80]; if (!current_fav_at_root()) { vmsg("請到我的最愛最上層執行本功\能"); break; @@ -1230,17 +1254,17 @@ choose_board(int newflag) case '2': fav_save(); setuserfile(fname, FAV4); - sprintf(genbuf, "%s.bak", fname); - Copy(fname, genbuf); + sprintf(buf, "%s.bak", fname); + Copy(fname, buf); break; case '3': setuserfile(fname, FAV4); - sprintf(genbuf, "%s.bak", fname); - if (!dashf(genbuf)){ + sprintf(buf, "%s.bak", fname); + if (!dashf(buf)){ vmsg("你沒有備份你的最愛喔"); break; } - Copy(genbuf, fname); + Copy(buf, fname); fav_free(); load_brdbuf(); break; @@ -1252,29 +1276,16 @@ choose_board(int newflag) if (HAS_PERM(PERM_BASIC)) vmsg("嘿嘿 這個功\能已經被我的最愛取代掉了喔!"); break; -#ifdef DEBUG - case 'A': - if (1) { - char genbuf[200]; - sprintf(genbuf, "brdnum: %d num: %d", brdnum, num); - vmsg(genbuf); - } - break; -#endif case 'Z': if (HAS_PERM(PERM_BASIC)) { - char genbuf[256]; - sprintf(genbuf, "確定要 %s訂閱\ 新看板? [N/y] ", cuser.uflag2 & FAVNEW_FLAG ? "取消" : ""); - if (getans(genbuf) != 'y') + sprintf(buf, "確定要 %s訂閱\ 新看板? [N/y] ", cuser.uflag2 & FAVNEW_FLAG ? "取消" : ""); + if (getans(buf) != 'y') break; cuser.uflag2 ^= FAVNEW_FLAG; if(cuser.uflag2 & FAVNEW_FLAG){ - char fname[80]; - - setuserfile(fname, FAVNB); - - if( (tmp = open(fname, O_RDONLY, 0600)) != -1 ){ + setuserfile(buf, FAVNB); + if( (tmp = open(buf, O_RDONLY, 0600)) != -1 ){ close(tmp); updatenewfav(0); } @@ -1288,13 +1299,13 @@ choose_board(int newflag) if(nbrd[num].bid < 0 || !Ben_Perm(B_BH(ptr))) break; if (ch == 'v') { - ptr->myattr &= ~BRD_UNREAD; + ptr->myattr &= ~PBS_UNREAD; brc_trunc(B_BH(ptr)->brdname, now); setbrdtime(ptr->bid, now); } else { brc_trunc(B_BH(ptr)->brdname, 1); setbrdtime(ptr->bid, 1); - ptr->myattr |= BRD_UNREAD; + ptr->myattr |= PBS_UNREAD; } show_brdlist(head, 0, newflag); break; @@ -1329,7 +1340,6 @@ 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:開群組目錄 */ b_note_edit_bname(class_bid); @@ -1348,14 +1358,12 @@ choose_board(int newflag) case '\r': case 'r': { - char buf[STRLEN]; - ptr = &nbrd[num]; if (yank_flag == 0 && get_fav_type(&nbrd[0]) == 0) break; - else if (ptr->myattr & BRD_LINE) + else if (ptr->myattr & PBS_LINE) break; - else if (ptr->myattr & BRD_FOLDER){ + else if (ptr->myattr & PBS_FOLDER){ int t = num; num = 0; fav_folder_in(ptr->bid); diff --git a/mbbsd/calendar.c b/mbbsd/calendar.c index 67524a91..3faed16a 100644 --- a/mbbsd/calendar.c +++ b/mbbsd/calendar.c @@ -1,4 +1,4 @@ -/* $Id: calendar.c,v 1.8 2003/01/16 11:58:04 kcwu Exp $ */ +/* $Id$ */ #include "bbs.h" typedef struct event_t { diff --git a/mbbsd/card.c b/mbbsd/card.c index 55102df5..2ed12260 100644 --- a/mbbsd/card.c +++ b/mbbsd/card.c @@ -1,4 +1,4 @@ -/* $Id: card.c,v 1.6 2002/07/22 19:02:00 in2 Exp $ */ +/* $Id$ */ #include "bbs.h" static int diff --git a/mbbsd/dark.c b/mbbsd/dark.c index 4c9c6486..71058894 100644 --- a/mbbsd/dark.c +++ b/mbbsd/dark.c @@ -1,4 +1,4 @@ -/* $Id: dark.c,v 1.8 2002/07/22 19:02:00 in2 Exp $ */ +/* $Id$ */ #include "bbs.h" #define RED 1 diff --git a/mbbsd/lovepaper.c b/mbbsd/lovepaper.c index 1ab87944..826f6eb4 100644 --- a/mbbsd/lovepaper.c +++ b/mbbsd/lovepaper.c @@ -1,4 +1,4 @@ -/* $Id: lovepaper.c,v 1.11 2003/01/19 16:06:06 kcwu Exp $ */ +/* $Id$ */ #include "bbs.h" #define DATA "etc/lovepaper.dat" diff --git a/mbbsd/syspost.c b/mbbsd/syspost.c index 8fdc361c..39ccf97e 100644 --- a/mbbsd/syspost.c +++ b/mbbsd/syspost.c @@ -1,4 +1,4 @@ -/* $Id: syspost.c,v 1.18 2003/01/19 16:06:06 kcwu Exp $ */ +/* $Id$ */ #include "bbs.h" int diff --git a/mbbsd/topsong.c b/mbbsd/topsong.c index 015f7de5..81f4d0c6 100644 --- a/mbbsd/topsong.c +++ b/mbbsd/topsong.c @@ -1,4 +1,4 @@ -/* $Id: topsong.c,v 1.6 2002/07/27 10:04:34 kcwu Exp $ */ +/* $Id$ */ #include "bbs.h" #define MAX_SONGS 300 diff --git a/mbbsd/vice.c b/mbbsd/vice.c index e774479c..d66f498d 100644 --- a/mbbsd/vice.c +++ b/mbbsd/vice.c @@ -1,4 +1,4 @@ -/* $Id: vice.c,v 1.9 2003/06/28 08:49:26 kcwu Exp $ */ +/* $Id$ */ #include "bbs.h" #define VICE_PLAY BBSHOME "/etc/vice/vice.play" diff --git a/pttpi/cgi/Makefile b/pttpi/cgi/Makefile index 42613de3..8b7b61a1 100644 --- a/pttpi/cgi/Makefile +++ b/pttpi/cgi/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.1 2003/05/19 01:33:00 in2 Exp $ +# $Id$ .include "../../pttbbs.mk" diff --git a/pttpi/cgi/pttpi.c b/pttpi/cgi/pttpi.c index 1e452f68..28ec6197 100644 --- a/pttpi/cgi/pttpi.c +++ b/pttpi/cgi/pttpi.c @@ -1,4 +1,4 @@ -/* $Id: pttpi.c,v 1.5 2003/05/19 05:15:36 in2 Exp $ */ +/* $Id$ */ #include "bbs.h" #include "pierr.h" #include <xmlrpc.h> diff --git a/pttpi/cgi/t/article.list.pl b/pttpi/cgi/t/article.list.pl index 27370aa1..9943741a 100644 --- a/pttpi/cgi/t/article.list.pl +++ b/pttpi/cgi/t/article.list.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: article.list.pl,v 1.1 2003/05/19 02:04:14 in2 Exp $ +# $Id$ use Frontier::Client; use Frontier::RPC2; use MIME::Base64; diff --git a/pttpi/cgi/t/article.readfn.pl b/pttpi/cgi/t/article.readfn.pl index e2d0bc27..805948ff 100644 --- a/pttpi/cgi/t/article.readfn.pl +++ b/pttpi/cgi/t/article.readfn.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: article.readfn.pl,v 1.1 2003/05/19 02:06:34 in2 Exp $ +# $Id$ use Frontier::Client; use Frontier::RPC2; use MIME::Base64; diff --git a/pttpi/cgi/t/board.getBid.pl b/pttpi/cgi/t/board.getBid.pl index a628da4e..0e542f5c 100644 --- a/pttpi/cgi/t/board.getBid.pl +++ b/pttpi/cgi/t/board.getBid.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: board.getBid.pl,v 1.1 2003/05/19 01:57:22 in2 Exp $ +# $Id$ use Frontier::Client; use Data::Dumper; do 'host.pl'; diff --git a/pttpi/cgi/t/board.getBrdInfo.pl b/pttpi/cgi/t/board.getBrdInfo.pl index 7870e386..4de62ca2 100644 --- a/pttpi/cgi/t/board.getBrdInfo.pl +++ b/pttpi/cgi/t/board.getBrdInfo.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: board.getBrdInfo.pl,v 1.1 2003/05/19 01:58:27 in2 Exp $ +# $Id$ use Frontier::Client; use Frontier::RPC2; use MIME::Base64; diff --git a/pttpi/cgi/t/board.getNarticle.pl b/pttpi/cgi/t/board.getNarticle.pl index a5fb56a1..1cc0a422 100644 --- a/pttpi/cgi/t/board.getNarticle.pl +++ b/pttpi/cgi/t/board.getNarticle.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: board.getNarticle.pl,v 1.1 2003/05/19 02:01:15 in2 Exp $ +# $Id$ use Frontier::Client; use Frontier::RPC2; use MIME::Base64; diff --git a/pttpi/cgi/t/class.list.pl b/pttpi/cgi/t/class.list.pl index 9e10932b..f328caf3 100644 --- a/pttpi/cgi/t/class.list.pl +++ b/pttpi/cgi/t/class.list.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: class.list.pl,v 1.1 2003/05/19 02:02:52 in2 Exp $ +# $Id$ use Frontier::Client; use Frontier::RPC2; use MIME::Base64; diff --git a/util/xchatd.h b/util/xchatd.h index d0a6e1e4..fed869eb 100644 --- a/util/xchatd.h +++ b/util/xchatd.h @@ -1,4 +1,4 @@ -/* $Id: xchatd.h,v 1.1 2002/03/07 15:13:46 in2 Exp $ */ +/* $Id$ */ #ifndef _XCHAT_H_ #define _XCHAT_H_ |