diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-05-21 10:43:06 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-05-21 10:47:41 +0900 |
commit | 6f167da65b799435f94af3c5d39a80968e284f44 (patch) | |
tree | 43ea0b40c617ce0d440bdc5d3bd0900d7a2ce16e /io.c | |
parent | 43725c60915753a88224583fafc87c0bac7c5422 (diff) | |
download | ruby-6f167da65b799435f94af3c5d39a80968e284f44.tar.gz |
Fixed a variable name [Bug #16903]
Fix up of 0e3b0fcdba7
From: fd0 (Daisuke Fujimura)
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -409,7 +409,7 @@ rb_cloexec_pipe(int descriptors[2]) return result; #ifdef __CYGWIN__ - if (ret == 0 && descriptors[1] == -1) { + if (result == 0 && descriptors[1] == -1) { close(descriptors[0]); descriptors[0] = -1; errno = ENFILE; |