summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/error.c b/error.c
index 0261ec9388..661b50b4f1 100644
--- a/error.c
+++ b/error.c
@@ -1187,12 +1187,12 @@ set_syserr(int n, const char *name)
if (!st_lookup(syserr_tbl, n, &error)) {
error = rb_define_class_under(rb_mErrno, name, rb_eSystemCallError);
-
+
/* capture nonblock errnos for WaitReadable/WaitWritable subclasses */
switch (n) {
case EAGAIN:
rb_eEAGAIN = error;
-
+
#if EAGAIN != EWOULDBLOCK
break;
case EWOULDBLOCK:
@@ -1204,7 +1204,7 @@ set_syserr(int n, const char *name)
rb_eEINPROGRESS = error;
break;
}
-
+
rb_define_const(error, "Errno", INT2NUM(n));
st_add_direct(syserr_tbl, n, error);
}