From e86bea8e49b4bac6ade22aab00f6e393f344c421 Mon Sep 17 00:00:00 2001 From: n1481 Date: Fri, 13 May 2011 05:24:55 +0000 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=8A=9B=E3=81=AE=E5=BE=AE=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@558 7061adef-622a-194b-ae81-725974e89856 --- build/tools/TamperDetectorForSrl/checker.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/build/tools/TamperDetectorForSrl/checker.cpp b/build/tools/TamperDetectorForSrl/checker.cpp index d5cef47..c8facc5 100644 --- a/build/tools/TamperDetectorForSrl/checker.cpp +++ b/build/tools/TamperDetectorForSrl/checker.cpp @@ -391,6 +391,7 @@ void Checker::CheckAllEntries( Entry* gEntry, Entry* mEntry) { MyDirEntry *currentEntry = gEntry->dirEntry; MyDirEntry *hisEntry; + bool isExistAll = true; printf( "------- directory check -------\n"); while( currentEntry) @@ -405,13 +406,20 @@ void Checker::CheckAllEntries( Entry* gEntry, Entry* mEntry) else { printf( " --->(存在していない)\n"); + isExistAll = false; } currentEntry = (MyDirEntry*)(currentEntry->next); } - + + if( isExistAll) + { + printf( "\n"); + printf( "(以上の ディレクトリは 全て マジコン側にも存在している)\n"); + } } + printf( "\n\n"); MyFileEntry *currentEntry = gEntry->fileEntry; MyFileEntry *hisEntry; printf( "------- file check -------\n");