From 5f35d92e047569c7528866d680020997f6dd8ed8 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Sat, 1 Oct 2005 11:48:10 +0000 Subject: ChangeLogTag: Sat Oct 1 08:16:12 UTC 2005 Johnny Willemsen --- ace/OS_NS_stdio.cpp | 4 ++-- 1 file 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) -- cgit v1.2.1