From 31b9bab65b95c6ccabff24b90fa80dc3a8344122 Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 14 Sep 2009 01:58:13 +0000 Subject: * enable size tag in shm git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/pttstruct.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/pttstruct.h b/include/pttstruct.h index e9453f5a..6b76a965 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -482,13 +482,12 @@ typedef struct keeploc_t { // TODO // 哪天請好心人整理 shm: -// (1) 增加 shmsize // (2) userinfo_t 可以移掉一些已不用的 -#define SHM_VERSION 3276 +#define SHM_VERSION 4842 typedef struct { - int version; - // int shmsize; // TODO add this: sizeof(SHM_t), for verification + int version; // SHM_VERSION for verification + int size; // sizeof(SHM_t) for verification /* uhash */ /* uhash is a userid->uid hash table -- jochang */ -- cgit v1.2.3