summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/error.c b/error.c
index 8d95e4a395..26c16328df 100644
--- a/error.c
+++ b/error.c
@@ -732,6 +732,9 @@ rb_sys_fail(mesg)
rb_bug("rb_sys_fail() - errno == 0");
}
+#ifdef __BORLANDC__
+ if (errno == EPIPE) return; // (*moriq*)
+#endif
err = strerror(errno);
if (mesg) {
volatile VALUE tmp = rb_str_inspect(rb_str_new2(mesg));