Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -444,7 +444,7 @@ public CoreLibrary(RubyContext context) {
errnoModule = defineModule("Errno");

for (Errno errno : Errno.values()) {
if (errno.name().startsWith("E")) {
if (errno.defined()) {
if (errno.equals(Errno.EWOULDBLOCK) && Errno.EWOULDBLOCK.intValue() == Errno.EAGAIN.intValue()){
continue; // Don't define it as a class, define it as constant later.
}

0 comments on commit 386573e

Please sign in to comment.