ruby-changes:41419
From: normal <ko1@a...>
Date: Sun, 10 Jan 2016 13:43:50 +0900 (JST)
Subject: [ruby-changes:41419] normal:r53492 (trunk): io.c: remove obsolete rb_deferr global variable
normal 2016-01-10 13:44:08 +0900 (Sun, 10 Jan 2016) New Revision: 53492 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53492 Log: io.c: remove obsolete rb_deferr global variable This was made obsolete by r4190 back in July 2003. Furthermore, this existed less than 3 months as it was only introduced in r3782. So with absolutely no references to rb_deferr, I doubt any vim plugin would care anymore. ChangeLog: fixup indent of my previous commit, oops :X Modified files: trunk/ChangeLog trunk/io.c Index: io.c =================================================================== --- io.c (revision 53491) +++ io.c (revision 53492) @@ -159,7 +159,6 @@ static VALUE rb_eEINPROGRESSWaitWritable https://github.com/ruby/ruby/blob/trunk/io.c#L159 static VALUE rb_eEINPROGRESSWaitReadable; VALUE rb_stdin, rb_stdout, rb_stderr; -VALUE rb_deferr; /* rescue VIM plugin */ static VALUE orig_stdout, orig_stderr; VALUE rb_output_fs; @@ -12388,7 +12387,7 @@ Init_IO(void) https://github.com/ruby/ruby/blob/trunk/io.c#L12387 rb_stderr = prep_stdio(stderr, FMODE_WRITABLE|FMODE_SYNC, rb_cIO, "<STDERR>"); rb_define_hooked_variable("$>", &rb_stdout, 0, stdout_setter); orig_stdout = rb_stdout; - rb_deferr = orig_stderr = rb_stderr; + orig_stderr = rb_stderr; /* Holds the original stdin */ rb_define_global_const("STDIN", rb_stdin); Index: ChangeLog =================================================================== --- ChangeLog (revision 53491) +++ ChangeLog (revision 53492) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Jan 10 13:41:36 2016 Eric Wong <e@8...> + + * io.c (rb_deferr): remove long obsolete global + Sun Jan 10 09:14:42 2016 Eric Wong <e@8...> * ext/psych/lib/psych/visitors/yaml_tree.rb (visit_String): -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/