summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-16 23:27:27 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-16 23:27:27 +0800
commit634988a554c0bb485c863608fba9cc4df26fcd71 (patch)
tree18bcc6f4a9769f101319af5d484e6e3add7a901a
parent650066b916fe1d6b58dfdb087747856a5c832a7a (diff)
downloadpttbbs-634988a554c0bb485c863608fba9cc4df26fcd71.tar
pttbbs-634988a554c0bb485c863608fba9cc4df26fcd71.tar.gz
pttbbs-634988a554c0bb485c863608fba9cc4df26fcd71.tar.bz2
pttbbs-634988a554c0bb485c863608fba9cc4df26fcd71.tar.lz
pttbbs-634988a554c0bb485c863608fba9cc4df26fcd71.tar.xz
pttbbs-634988a554c0bb485c863608fba9cc4df26fcd71.tar.zst
pttbbs-634988a554c0bb485c863608fba9cc4df26fcd71.zip
MDCACHE
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@117 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/voteboard.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mbbsd/voteboard.c b/mbbsd/voteboard.c
index 1286d986..5c79fe46 100644
--- a/mbbsd/voteboard.c
+++ b/mbbsd/voteboard.c
@@ -1,4 +1,4 @@
-/* $Id: voteboard.c,v 1.1 2002/03/07 15:13:48 in2 Exp $ */
+/* $Id: voteboard.c,v 1.2 2002/04/16 15:27:27 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -189,6 +189,9 @@ void do_voteboardreply(fileheader_t *fhdr){
fclose(fo);
unlink(oldfpath);
rename(fpath, oldfpath);
+#ifdef MDCACHE
+ close(updatemdcache(NULL, fpath));
+#endif
}
int do_voteboard() {