mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* regint.h (OnigStackIndex): the type should be intptr_t.
Original Oniguruma assumes the size of long and that of void * are equal, but it's not true on LLP64 platform: mswin64. originally patched by shintaro kuwamoto [ruby-dev:42133] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									6ef6cbc4f6
								
							
						
					
					
						commit
						b3545895d1
					
				
					 2 changed files with 8 additions and 1 deletions
				
			
		|  | @ -1,3 +1,10 @@ | ||||||
|  | Thu Aug 26 10:37:00 2010  NARUSE, Yui  <naruse@ruby-lang.org> | ||||||
|  | 
 | ||||||
|  | 	* regint.h (OnigStackIndex): the type should be intptr_t. | ||||||
|  | 	  Original Oniguruma assumes the size of long and that of void * | ||||||
|  | 	  are equal, but it's not true on LLP64 platform: mswin64. | ||||||
|  | 	  originally patched by shintaro kuwamoto [ruby-dev:42133] | ||||||
|  | 
 | ||||||
| Thu Aug 26 10:38:11 2010  Yutaka Kanemoto  <kanemoto@ruby-lang.org> | Thu Aug 26 10:38:11 2010  Yutaka Kanemoto  <kanemoto@ruby-lang.org> | ||||||
| 
 | 
 | ||||||
| 	* test/dl/test_base.rb: AIX does not have dynamically loadable lib[cm]. | 	* test/dl/test_base.rb: AIX does not have dynamically loadable lib[cm]. | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								regint.h
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								regint.h
									
										
									
									
									
								
							|  | @ -720,7 +720,7 @@ typedef struct { | ||||||
|   BBuf*  mbuf;   /* multi-byte info or NULL */ |   BBuf*  mbuf;   /* multi-byte info or NULL */ | ||||||
| } CClassNode; | } CClassNode; | ||||||
| 
 | 
 | ||||||
| typedef long OnigStackIndex; | typedef intptr_t OnigStackIndex; | ||||||
| 
 | 
 | ||||||
| typedef struct _OnigStackType { | typedef struct _OnigStackType { | ||||||
|   unsigned int type; |   unsigned int type; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 naruse
						naruse