Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Common/C_FileIO.cpp')
-rwxr-xr-xCPP/Common/C_FileIO.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/CPP/Common/C_FileIO.cpp b/CPP/Common/C_FileIO.cpp
index 7d9e00d0..28a1378c 100755
--- a/CPP/Common/C_FileIO.cpp
+++ b/CPP/Common/C_FileIO.cpp
@@ -51,6 +51,11 @@ bool CInFile::Open(const char *name)
return CFileBase::OpenBinary(name, O_RDONLY);
}
+bool CInFile::OpenShared(const char *name, bool)
+{
+ return Open(name);
+}
+
ssize_t CInFile::Read(void *data, size_t size)
{
return read(_handle, data, size);