diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2011-12-29 17:29:37 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2011-12-29 17:29:37 +0000 |
commit | c96a9c04ba1a85ba4b3da881b9d50913900dab03 (patch) | |
tree | ec1c416e4c3201d7ca799c18b0eaa190cea74068 /ACE/ace | |
parent | ba0edb144b5119b911045a34376e6680e0f76a49 (diff) | |
download | ATCD-c96a9c04ba1a85ba4b3da881b9d50913900dab03.tar.gz |
ChangeLogTag:Thu
Diffstat (limited to 'ACE/ace')
-rw-r--r-- | ACE/ace/Mem_Map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Mem_Map.cpp b/ACE/ace/Mem_Map.cpp index cc5fba9c519..614d1842309 100644 --- a/ACE/ace/Mem_Map.cpp +++ b/ACE/ace/Mem_Map.cpp @@ -88,7 +88,7 @@ ACE_Mem_Map::map_it (ACE_HANDLE handle, else if ((current_file_type.st_mode & S_IFMT) == S_IFCHR) // Set length to length_request this->length_ = length_request; - else if (current_file_type.st_mode & S_IFMT) == S_IFREG) + else if ((current_file_type.st_mode & S_IFMT) == S_IFREG) { // Get the current filesize ACE_OFF_T const current_file_length = ACE_OS::filesize (this->handle_); |