mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* vm_eval.c (check_funcall): set array elements one-by-one to fix
compile error with Fujitsu C Compiler 5.6 on Solaris 10 on Sparc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									9c49753182
								
							
						
					
					
						commit
						a1d308456d
					
				
					 2 changed files with 9 additions and 1 deletions
				
			
		| 
						 | 
					@ -1,3 +1,8 @@
 | 
				
			||||||
 | 
					Thu Oct 20 21:19:15 2011  Naohisa Goto  <ngotogenome@gmail.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* vm_eval.c (check_funcall): set array elements one-by-one to fix
 | 
				
			||||||
 | 
						  compile error with Fujitsu C Compiler 5.6 on Solaris 10 on Sparc.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Thu Oct 20 13:09:35 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
					Thu Oct 20 13:09:35 2011  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* include/ruby/defines.h (flush_register_windows): use software
 | 
						* include/ruby/defines.h (flush_register_windows): use software
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -272,7 +272,10 @@ check_funcall(VALUE recv, ID mid, int argc, VALUE *argv)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    me = rb_method_entry(klass, idRespond_to);
 | 
					    me = rb_method_entry(klass, idRespond_to);
 | 
				
			||||||
    if (me && !(me->flag & NOEX_BASIC)) {
 | 
					    if (me && !(me->flag & NOEX_BASIC)) {
 | 
				
			||||||
	VALUE args[2] = {ID2SYM(mid), Qtrue};
 | 
					      VALUE args[2];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      args[0] = ID2SYM(mid);
 | 
				
			||||||
 | 
					      args[1] = Qtrue;
 | 
				
			||||||
	if (!RTEST(vm_call0(th, recv, idRespond_to, 2, args, me))) {
 | 
						if (!RTEST(vm_call0(th, recv, idRespond_to, 2, args, me))) {
 | 
				
			||||||
	    return Qundef;
 | 
						    return Qundef;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue