Author: mturk
Date: Tue Apr 26 16:06:14 2011
New Revision: 1096796
URL: http://svn.apache.org/viewvc?rev=1096796&view=rev
Log:
Add check for epoll_create
Modified:
commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Errno.java
commons/sandbox/runtime/trunk/src/main/native/configure
commons/sandbox/runtime/trunk/src/main/native/os/win32/config.hw
Modified:
commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Errno.java
URL:
http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Errno.java?rev=1096796&r1=1096795&r2=1096796&view=diff
==============================================================================
---
commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Errno.java
(original)
+++
commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Errno.java
Tue Apr 26 16:06:14 2011
@@ -327,7 +327,9 @@ public final class Errno
/** Return the calling thread's last-error message.
*
+ * This method has the same effect as calling the
+ * {@code Status.describe(Errno.get()); } using a single call.
*/
public static native String msg();
-
+
}
Modified: commons/sandbox/runtime/trunk/src/main/native/configure
URL:
http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/configure?rev=1096796&r1=1096795&r2=1096796&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/configure (original)
+++ commons/sandbox/runtime/trunk/src/main/native/configure Tue Apr 26 16:06:14
2011
@@ -1324,6 +1324,7 @@ extern "C" {
#define HAVE_SETENV `have_function x setenv`
#define HAVE_UNSETENV `have_function x unsetenv`
#define HAVE_DUP3 `have_function c dup3`
+#define HAVE_EPOLL_CREATE `have_function c epoll_create`
#define HAVE_EPOLL_CREATE1 `have_function c epoll_create1`
#define HAVE_ACCEPT4 `have_function c accept4`
#define HAVE_EVENTFD `have_function c eventfd`
Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/config.hw
URL:
http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/config.hw?rev=1096796&r1=1096795&r2=1096796&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/config.hw (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/config.hw Tue Apr 26
16:06:14 2011
@@ -90,6 +90,7 @@
#define HAVE_SETENV 1
#define HAVE_UNSETENV 0
#define HAVE_DUP3 0
+#define HAVE_EPOLL_CREATE 0
#define HAVE_EPOLL_CREATE1 0
#define HAVE_ACCEPT4 0
#define HAVE_EVENTFD 0