diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-01-04 19:03:50 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-01-04 19:03:50 +0000 |
commit | 953bbd98682ed4a7e7dc70724a7159bb7f1b9d9d (patch) | |
tree | fbaf1f6a87f0b87c286ae5dc695a84b6cdc583d2 /ace/Mem_Map.cpp | |
parent | 922882a4c925ddbdae063b56f45454c0642135ad (diff) | |
download | ATCD-953bbd98682ed4a7e7dc70724a7159bb7f1b9d9d.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Mem_Map.cpp')
-rw-r--r-- | ace/Mem_Map.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ace/Mem_Map.cpp b/ace/Mem_Map.cpp index aa0d54cb188..e79a5cabf7e 100644 --- a/ace/Mem_Map.cpp +++ b/ace/Mem_Map.cpp @@ -206,11 +206,6 @@ ACE_Mem_Map::map (LPCTSTR file_name, mode, sa) == -1) return -1; - else if (ACE_BIT_ENABLED (flags, O_CREAT) - && len <= 0) - // <mmap> will fail if the length of the file mapping is 0, which - // will be the case if we've just created the file. - return 0; else return this->map_it (this->handle (), len, |