[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Error code conflict in VMSelector
From: |
Guilhem Lavaux |
Subject: |
[cp-patches] Error code conflict in VMSelector |
Date: |
Sun, 03 Apr 2005 17:09:57 +0200 |
Hi,
It has been reported that a conflict may appear in the return code of
helper_select. A patch has been proposed and here is revised one. I have
factorised the use of errno at the same time. The problem appears if the
number of filedescriptors selected is equal (coincidentally) to EINTR.
Comments ?
Guilhem.
ChangeLog entry:
2005-04-03 Guilhem Lavaux <address@hidden>
Rei Odaira <address@hidden>
* native/jni/java-nio/gnu_java_nio_VMSelector.c
(helper_select): Return the error number.
(Java_gnu_java_nio_VMSelector_select0): If the result is
negative
consider it as the error code. This prevents conflicts between
EINTR
and the number of filedescriptor particularly.
select_patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] Error code conflict in VMSelector,
Guilhem Lavaux <=