diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-29 22:29:38 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-29 22:29:38 +0000 |
commit | 5eea4b6c964e82283e5a103ee790f010c9e708f3 (patch) | |
tree | 56b1b8d7fcb5694ceb606404067f7b82665e1e69 /ace/OS.cpp | |
parent | 98173bf4d3cd5332b134ab7422c64f7a3a022e2f (diff) | |
download | ATCD-5eea4b6c964e82283e5a103ee790f010c9e708f3.tar.gz |
Wed Sep 29 16:40:45 1999 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/OS.cpp')
-rw-r--r-- | ace/OS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/OS.cpp b/ace/OS.cpp index c7ef4454dc8..45c4ade4521 100644 --- a/ace/OS.cpp +++ b/ace/OS.cpp @@ -957,7 +957,7 @@ ACE_OS::fopen (const wchar_t *filename, const wchar_t *mode) ACE_HANDLE handle = ACE_OS::open (filename, hmode); # if defined (ACE_HAS_WINCE) - return handle; + return (handle == ACE_INVALID_HANDLE ? NULL : handle); # else if (handle != ACE_INVALID_HANDLE) { |