mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
objspace_dump.c: fix declaration
* ext/objspace/objspace_dump.c (dump_output): fix declaration, mkstemp() needs a writable buffer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
df86052a5d
commit
00dab76f20
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ root_obj_i(const char *category, VALUE obj, void *data)
|
|||
#define dump_output(dc, opts, output, filename) dump_output(dc, opts, output)
|
||||
#endif
|
||||
static VALUE
|
||||
dump_output(struct dump_config *dc, VALUE opts, VALUE output, const char *filename)
|
||||
dump_output(struct dump_config *dc, VALUE opts, VALUE output, char *filename)
|
||||
{
|
||||
if (RTEST(opts))
|
||||
output = rb_hash_aref(opts, sym_output);
|
||||
|
|
Loading…
Reference in a new issue