From 077c04f3f8154de846dc58855bc1e9bc40ff908b Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Sun, 31 Jul 2011 03:39:18 +0200 Subject: [PATCH] [linux] Removed unsupported open() flag --- coding/mmap_reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coding/mmap_reader.cpp b/coding/mmap_reader.cpp index bfdc9271b5..a51de38292 100644 --- a/coding/mmap_reader.cpp +++ b/coding/mmap_reader.cpp @@ -23,7 +23,7 @@ public: { // @TODO add windows support #ifndef OMIM_OS_WINDOWS - m_fd = open(fileName.c_str(), O_RDONLY | O_NONBLOCK | O_SYMLINK); + m_fd = open(fileName.c_str(), O_RDONLY | O_NONBLOCK); if (m_fd == -1) MYTHROW(OpenException, ("open failed for file", fileName));