mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 18:10:56 +01:00 
			
		
		
		
	23118: improve sorting to make it work with locales
This commit is contained in:
		
							parent
							
								
									f3bf48149a
								
							
						
					
					
						commit
						553e011320
					
				
					 15 changed files with 497 additions and 221 deletions
				
			
		
							
								
								
									
										11
									
								
								Src/utils.c
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								Src/utils.c
									
										
									
									
									
								
							|  | @ -3625,6 +3625,17 @@ metafy(char *buf, int len, int heap) | |||
|     return buf; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| /*
 | ||||
|  * Take a null-terminated, metafied string in s into a literal | ||||
|  * representation by converting in place.  The length is in *len | ||||
|  * len is non-NULL; if len is NULL, you don't know the length of | ||||
|  * the final string, but if it's to be supplied to some system | ||||
|  * routine that always uses NULL termination, such as a filename | ||||
|  * interpreter, that doesn't matter.  Note the NULL termination | ||||
|  * is always copied for purposes of that kind. | ||||
|  */ | ||||
| 
 | ||||
| /**/ | ||||
| mod_export char * | ||||
| unmetafy(char *s, int *len) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue