Skip to content

Commit

Permalink
No longer sets file attributes. Fixes #215
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisrichards committed Oct 23, 2023
1 parent 3c2a81d commit a450cd5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/DbfDataReader/DbfTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ public DbfTable(string path, Encoding encoding = null)
Path = path;
CurrentEncoding = encoding;

// https://stackoverflow.com/questions/23559452/stream-reader-process-cannot-access-file-because-its-in-use-by-another-process
File.SetAttributes(path, FileAttributes.Normal);
Stream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);

Init();
Expand Down

0 comments on commit a450cd5

Please sign in to comment.