Author: mturk
Date: Sat Apr 16 10:52:32 2011
New Revision: 1093961

URL: http://svn.apache.org/viewvc?rev=1093961&view=rev
Log:
Thow ENOTIMPL

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/unix/arch_opts.h

Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/arch_opts.h
URL: 
http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/arch_opts.h?rev=1093961&r1=1093960&r2=1093961&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/unix/arch_opts.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/unix/arch_opts.h Sat Apr 
16 10:52:32 2011
@@ -26,8 +26,10 @@
         ACR_THROW(ACR_EX_ENOENT, 0);    \
     else if (errno == EACCES)           \
         ACR_THROW(ACR_EX_EACCES, 0);    \
+    else if (errno == ENOSYS)           \
+        ACR_THROW(ACR_EX_ENOTIMPL, 0);  \
     else                                \
-        ACR_THROW_SYS_ERROR();      
+        ACR_THROW_SYS_ERROR()
 
 /* restartable close() */
 ACR_INLINE(int) r_close(int fd)


Reply via email to