OSDN Git Service

AppliStation-GUI,ウイルススキャン直前にファイルの存在確認をするように
authorttp <ttp@users.sourceforge.jp>
Sun, 18 Jan 2009 05:06:16 +0000 (05:06 +0000)
committerttp <ttp@users.sourceforge.jp>
Sun, 18 Jan 2009 05:06:16 +0000 (05:06 +0000)
git-svn-id: http://localhost/svn/AppliStation/trunk@1013 34ed2c89-c49f-4a4b-abdb-c318350108cf

na-get-lib/NaGet.Net/DownloadScanner.cs

index 12912d5..5dc9b7c 100644 (file)
@@ -148,6 +148,7 @@ namespace NaGet.Net
                        info.pwzOrigURL = origin;\r
                        \r
                        foreach (IOfficeAntiVirus i in scanners) {\r
+                               if (! System.IO.File.Exists(path)) break;\r
                                i.Scan(ref info);\r
                        }\r
                        return true;\r