mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* eval_error.c (error_handle): commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									7bb2b2f431
								
							
						
					
					
						commit
						51411c1f88
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -237,7 +237,7 @@ error_handle(int ex)
 | 
			
		|||
    int status = EXIT_FAILURE;
 | 
			
		||||
    rb_thread_t *th = GET_THREAD();
 | 
			
		||||
 | 
			
		||||
    if (thread_set_raised(th))
 | 
			
		||||
    if (rb_thread_set_raised(th))
 | 
			
		||||
	return EXIT_FAILURE;
 | 
			
		||||
    switch (ex & TAG_MASK) {
 | 
			
		||||
      case 0:
 | 
			
		||||
| 
						 | 
				
			
			@ -287,6 +287,6 @@ error_handle(int ex)
 | 
			
		|||
	rb_bug("Unknown longjmp status %d", ex);
 | 
			
		||||
	break;
 | 
			
		||||
    }
 | 
			
		||||
    thread_reset_raised(th);
 | 
			
		||||
    rb_thread_reset_raised(th);
 | 
			
		||||
    return status;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue