summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_fcntl.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-06-28 14:50:36 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-06-28 14:50:36 +0200
commit6e2e9f862209e9dae3a282f2505e83d9dce2ac69 (patch)
treeb7300a069f00fcc8090bf1031ca78cafb899766a /ACE/ace/OS_NS_fcntl.cpp
parentb31a5c65ed12c73e68da8f8b5c33689adf1efabc (diff)
downloadATCD-6e2e9f862209e9dae3a282f2505e83d9dce2ac69.tar.gz
Removed FAIL value from ACE_OSCALL an ACE_OSCALL_RETURN, not used at all
* ACE/ace/Mem_Map.cpp: * ACE/ace/OS_NS_Thread.cpp: * ACE/ace/OS_NS_Thread.inl: * ACE/ace/OS_NS_arpa_inet.cpp: * ACE/ace/OS_NS_arpa_inet.inl: * ACE/ace/OS_NS_devctl.inl: * ACE/ace/OS_NS_dlfcn.inl: * ACE/ace/OS_NS_fcntl.cpp: * ACE/ace/OS_NS_fcntl.inl: * ACE/ace/OS_NS_macros.h: * ACE/ace/OS_NS_netdb.inl: * ACE/ace/OS_NS_poll.inl: * ACE/ace/OS_NS_regex.inl: * ACE/ace/OS_NS_signal.inl: * ACE/ace/OS_NS_stdio.inl: * ACE/ace/OS_NS_stdlib.inl: * ACE/ace/OS_NS_stropts.inl: * ACE/ace/OS_NS_sys_mman.inl: * ACE/ace/OS_NS_sys_msg.inl: * ACE/ace/OS_NS_sys_resource.inl: * ACE/ace/OS_NS_sys_shm.inl: * ACE/ace/OS_NS_sys_socket.inl: * ACE/ace/OS_NS_sys_stat.inl: * ACE/ace/OS_NS_sys_time.inl: * ACE/ace/OS_NS_sys_uio.inl: * ACE/ace/OS_NS_sys_utsname.cpp: * ACE/ace/OS_NS_sys_wait.inl: * ACE/ace/OS_NS_time.cpp: * ACE/ace/OS_NS_time.h: * ACE/ace/OS_NS_time.inl: * ACE/ace/OS_NS_unistd.cpp: * ACE/ace/OS_NS_unistd.inl: * ACE/ace/OS_NS_wchar.inl: * ACE/ace/OS_TLI.inl: * ACE/ace/config-macros.h: * TAO/TAO_IDL/be/be_helper.cpp:
Diffstat (limited to 'ACE/ace/OS_NS_fcntl.cpp')
-rw-r--r--ACE/ace/OS_NS_fcntl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/OS_NS_fcntl.cpp b/ACE/ace/OS_NS_fcntl.cpp
index d530a27ecc8..d16a28a642c 100644
--- a/ACE/ace/OS_NS_fcntl.cpp
+++ b/ACE/ace/OS_NS_fcntl.cpp
@@ -120,10 +120,10 @@ ACE_OS::open (const char *filename,
#elif defined (INTEGRITY)
ACE_UNUSED_ARG (sa);
if(!strcmp(filename,ACE_DEV_NULL)) {
- ACE_OSCALL_RETURN (::AllocateNullConsoleDescriptor(), ACE_HANDLE, -1);
+ ACE_OSCALL_RETURN (::AllocateNullConsoleDescriptor(), ACE_HANDLE);
}
else {
- ACE_OSCALL_RETURN (::open (filename, mode, perms), ACE_HANDLE, -1);
+ ACE_OSCALL_RETURN (::open (filename, mode, perms), ACE_HANDLE);
}
#elif defined (ACE_MQX)
ACE_UNUSED_ARG (perms);
@@ -131,7 +131,7 @@ ACE_OS::open (const char *filename,
return MQX_Filesystem::inst ().open (filename, mode);
#else
ACE_UNUSED_ARG (sa);
- ACE_OSCALL_RETURN (::open (filename, mode, perms), ACE_HANDLE, ACE_INVALID_HANDLE);
+ ACE_OSCALL_RETURN (::open (filename, mode, perms), ACE_HANDLE);
#endif /* ACE_WIN32 */
}