diff options
author | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-30 00:50:02 +0000 |
---|---|---|
committer | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-30 00:50:02 +0000 |
commit | 4ce2d414eead71c085270b05810cd4418484584f (patch) | |
tree | 614de94c24c154e411c673bd60d5fbdb728c531d /apps/JAWS/server/IO.cpp | |
parent | f0fbd3f3a379ba8921201a0e8a3aea43793a0680 (diff) | |
download | ATCD-4ce2d414eead71c085270b05810cd4418484584f.tar.gz |
Idem to previous change, but fixes to improve compatibility and
portability to Windows NT.
Diffstat (limited to 'apps/JAWS/server/IO.cpp')
-rw-r--r-- | apps/JAWS/server/IO.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/JAWS/server/IO.cpp b/apps/JAWS/server/IO.cpp index b1bcb316017..c746b5507fb 100644 --- a/apps/JAWS/server/IO.cpp +++ b/apps/JAWS/server/IO.cpp @@ -66,7 +66,7 @@ JAWS_Synch_IO::receive_file (const char *filename, int initial_data_length, int entire_length) { - ACE_Filecache_Handle handle (filename, entire_length, 1); + ACE_Filecache_Handle handle (filename, entire_length); int result = handle.error (); @@ -255,7 +255,7 @@ JAWS_Asynch_IO::receive_file (const char *filename, ACE_Message_Block *mb = 0; ACE_Filecache_Handle *handle; - ACE_NEW (handle, ACE_Filecache_Handle (filename, entire_length, 0)); + ACE_NEW (handle, ACE_Filecache_Handle (filename, entire_length, NOMAP)); int result = handle->error (); @@ -301,7 +301,7 @@ JAWS_Asynch_IO::transmit_file (const char *filename, int trailer_size) { ACE_Asynch_Transmit_File::Header_And_Trailer *header_and_trailer = 0; - ACE_Filecache_Handle *handle = new ACE_Filecache_Handle (filename, 0); + ACE_Filecache_Handle *handle = new ACE_Filecache_Handle (filename, NOMAP); int result = handle->error (); |