[前][次][番号順一覧][スレッド一覧]

ruby-changes:31536

From: nobu <ko1@a...>
Date: Sat, 9 Nov 2013 22:35:06 +0900 (JST)
Subject: [ruby-changes:31536] nobu:r43615 (trunk): objspace_dump.c: fix declaration

nobu	2013-11-09 22:34:53 +0900 (Sat, 09 Nov 2013)

  New Revision: 43615

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43615

  Log:
    objspace_dump.c: fix declaration
    
    * ext/objspace/objspace_dump.c (dump_output): fix declaration,
      mkstemp() needs a writable buffer.

  Modified files:
    trunk/ext/objspace/objspace_dump.c
Index: ext/objspace/objspace_dump.c
===================================================================
--- ext/objspace/objspace_dump.c	(revision 43614)
+++ ext/objspace/objspace_dump.c	(revision 43615)
@@ -294,7 +294,7 @@ root_obj_i(const char *category, VALUE o https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace_dump.c#L294
 #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);

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]