ruby-changes:48675
From: ko1 <ko1@a...>
Date: Thu, 16 Nov 2017 14:45:48 +0900 (JST)
Subject: [ruby-changes:48675] ko1:r60791 (trunk): fix r60789.
ko1 2017-11-16 14:45:44 +0900 (Thu, 16 Nov 2017) New Revision: 60791 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60791 Log: fix r60789. * vm.c (rb_source_loc): fix condition. Modified files: trunk/vm.c Index: vm.c =================================================================== --- vm.c (revision 60790) +++ vm.c (revision 60791) @@ -1301,7 +1301,7 @@ const char * https://github.com/ruby/ruby/blob/trunk/vm.c#L1301 rb_source_loc(int *pline) { VALUE path = rb_source_location(pline); - if (!NIL_P(path)) return NULL; + if (NIL_P(path)) return NULL; return RSTRING_PTR(path); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/