Commit 35998fc2fa fixed the buffer underun
in win32 path normalization, but introduced a new bug: A wrong
assumption led to the inability to backtrack the path outside of the
current working directory in case of relative paths.
This patch fixes this problem, together with a minor problem if the CWD
is on a network share: The result erroneously started with tripple
backslash if the src path starts with a single backslash.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			212 B
		
	
	
	
		
			Groff
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			212 B
		
	
	
	
		
			Groff
		
	
	
	
	
	
| What's new:
 | |
| -----------
 | |
| 
 | |
| 
 | |
| What changed:
 | |
| -------------
 | |
| 
 | |
| 
 | |
| Bug Fixes
 | |
| ---------
 | |
| 
 | |
| - Fix ".." handling in Win32 path normalization, introduced in 2.11.0.
 | |
|   Addresses: https://cygwin.com/ml/cygwin/2018-09/msg00000.html
 |