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:
parent
a2c069fca9
commit
73e948afd5
Notes:
git
2021-01-27 09:30:41 +09:00
1 changed files with 0 additions and 1 deletions
|
@ -4773,7 +4773,6 @@ static void *
|
||||||
getcwd_value(int size, void *arg)
|
getcwd_value(int size, void *arg)
|
||||||
{
|
{
|
||||||
VALUE str = *(VALUE *)arg = rb_utf8_str_new(0, size - 1);
|
VALUE str = *(VALUE *)arg = rb_utf8_str_new(0, size - 1);
|
||||||
OBJ_TAINT(str);
|
|
||||||
return RSTRING_PTR(str);
|
return RSTRING_PTR(str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue