From 155ab9caa6bbdeae2377bd9c18f11fc83d938217 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 12 Feb 2020 11:47:08 +0900 Subject: Removed unnecessary conversion Paths in `rb_execarg_t` should have been converted already. --- process.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'process.c') diff --git a/process.c b/process.c index 725ab0da5b..51c131eff8 100644 --- a/process.c +++ b/process.c @@ -2736,8 +2736,6 @@ rb_execarg_parent_start1(VALUE execarg_obj) int fd2; if (NIL_P(fd2v)) { struct open_struct open_data; - FilePathValue(vpath); - vpath = rb_str_encode_ospath(vpath); again: open_data.fname = vpath; open_data.oflags = flags; -- cgit v1.2.3