summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-01-20 12:00:46 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2021-01-27 09:30:15 +0900
commit73e948afd5d465548868189d1bd0a8d35e238fb2 (patch)
treef500f98ef575e22e15bac8231f85304f21a290a2 /win32/win32.c
parenta2c069fca9ea80edef8f6441aeaecdfe4d1645a0 (diff)
win32/win32.c:getcwd_value: delete OBJ_TAINT
Makes no sense any longer.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4100
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 27f2d9c82f..9b81488e6a 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -4773,7 +4773,6 @@ static void *
getcwd_value(int size, void *arg)
{
VALUE str = *(VALUE *)arg = rb_utf8_str_new(0, size - 1);
- OBJ_TAINT(str);
return RSTRING_PTR(str);
}