- Timestamp:
- 3/14/2010 11:46:42 AM (2 years ago)
- Location:
- trunk/eraser6
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Eraser.DefaultPlugins/FileSystems/Windows.cs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/eraser6
- Property svn:mergeinfo changed
/branches/eraser6/6.0 merged: 1887
- Property svn:mergeinfo changed
-
trunk/eraser6/Eraser.DefaultPlugins/FileSystems/Windows.cs
r1881 r1888 222 222 continue; 223 223 224 FileAttributes fileAttr = streamInfo.Attributes;225 226 224 try 227 225 { 228 226 //Reset the file attributes. 227 FileAttributes fileAttr = streamInfo.Attributes; 229 228 streamInfo.Attributes = FileAttributes.Normal; 230 EraseFileClusterTips(files[i], method); 229 230 try 231 { 232 EraseFileClusterTips(files[i], method); 233 } 234 finally 235 { 236 streamInfo.Attributes = fileAttr; 237 } 231 238 } 232 239 catch (UnauthorizedAccessException) … … 240 247 Logger.Log(S._("{0} did not have its cluster tips erased. The error returned " + 241 248 "was: {1}", files[i], e.Message), LogLevel.Error); 242 }243 finally244 {245 streamInfo.Attributes = fileAttr;246 249 } 247 250
Note: See TracChangeset
for help on using the changeset viewer.
