mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-04 00:02:52 -05:00 
			
		
		
		
	Fix lowercasing while parse OO dictionary
This commit is contained in:
		
							parent
							
								
									1120c61b29
								
							
						
					
					
						commit
						3de2682a1e
					
				@ -609,11 +609,11 @@ NIImportOOAffixes(IspellDict * Conf, const char *filename)
 | 
			
		||||
			pfind = lowerstr(find);
 | 
			
		||||
			pmask = lowerstr(mask);
 | 
			
		||||
			if (t_iseq(find, '0'))
 | 
			
		||||
				*find = '\0';
 | 
			
		||||
				*pfind = '\0';
 | 
			
		||||
			if (t_iseq(repl, '0'))
 | 
			
		||||
				*repl = '\0';
 | 
			
		||||
				*prepl = '\0';
 | 
			
		||||
 | 
			
		||||
			NIAddAffix(Conf, flag, flagflags, mask, find, repl, isSuffix ? FF_SUFFIX : FF_PREFIX);
 | 
			
		||||
			NIAddAffix(Conf, flag, flagflags, pmask, pfind, prepl, isSuffix ? FF_SUFFIX : FF_PREFIX);
 | 
			
		||||
			pfree(prepl);
 | 
			
		||||
			pfree(pfind);
 | 
			
		||||
			pfree(pmask);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user