1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

win32/win32.c:getcwd_value: delete OBJ_TAINT

Makes no sense any longer.
This commit is contained in:
卜部昌平 2021-01-20 12:00:46 +09:00
parent a2c069fca9
commit 73e948afd5
Notes: git 2021-01-27 09:30:41 +09:00

View file

@ -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);
}