diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-10-01 11:48:10 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-10-01 11:48:10 +0000 |
commit | 5f35d92e047569c7528866d680020997f6dd8ed8 (patch) | |
tree | df5f6da049f3285d55b3991191d8e4c73025ff62 | |
parent | fc62e5a1c1c0409cfa61a973516aadde2aed4d1a (diff) | |
download | ATCD-5f35d92e047569c7528866d680020997f6dd8ed8.tar.gz |
ChangeLogTag: Sat Oct 1 08:16:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | ace/OS_NS_stdio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/OS_NS_stdio.cpp b/ace/OS_NS_stdio.cpp index d3d0cd4c751..1d6c6ccffc2 100644 --- a/ace/OS_NS_stdio.cpp +++ b/ace/OS_NS_stdio.cpp @@ -132,9 +132,9 @@ ACE_OS::fopen (const char *filename, hmode &= _O_TEXT | _O_RDONLY | _O_APPEND; # if defined (ACE_LACKS_INTPTR_T) - int fd = ::_open_osfhandle (long (handle), 0); + int fd = ::_open_osfhandle (long (handle), hmode); # else - int fd = ::_open_osfhandle (intptr_t (handle), 0); + int fd = ::_open_osfhandle (intptr_t (handle), hmode); # endif if (fd != -1) |