From: ttp Date: Sun, 18 Jan 2009 05:06:16 +0000 (+0000) Subject: AppliStation-GUI,ウイルススキャン直前にファイルの存在確認をするように X-Git-Tag: v1.3.0~29 X-Git-Url: http://git.sourceforge.jp/view?p=applistation%2FAppliStation.git;a=commitdiff_plain;h=078ee85c1a8937d0f053a027d87ad1f5584d3db8 AppliStation-GUI,ウイルススキャン直前にファイルの存在確認をするように git-svn-id: http://localhost/svn/AppliStation/trunk@1013 34ed2c89-c49f-4a4b-abdb-c318350108cf --- diff --git a/na-get-lib/NaGet.Net/DownloadScanner.cs b/na-get-lib/NaGet.Net/DownloadScanner.cs index 12912d5..5dc9b7c 100644 --- a/na-get-lib/NaGet.Net/DownloadScanner.cs +++ b/na-get-lib/NaGet.Net/DownloadScanner.cs @@ -148,6 +148,7 @@ namespace NaGet.Net info.pwzOrigURL = origin; foreach (IOfficeAntiVirus i in scanners) { + if (! System.IO.File.Exists(path)) break; i.Scan(ref info); } return true;