* path.cc (normalize_win32_path): Don't add a trailing '\' if the cwd returns a
path with a trailing '\'.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2008-11-10  Christopher Faylor  <me+cygwin@cgf.cx> | ||||
|  | ||||
| 	* path.cc (normalize_win32_path): Don't add a trailing '\' if the cwd | ||||
| 	returns a path with a trailing '\'. | ||||
|  | ||||
| 2008-11-07  Christopher Faylor  <me+cygwin@cgf.cx> | ||||
|  | ||||
| 	* pthread.cc (pthread_mutex::_unlock): Avoid unlocking a mutex if the | ||||
|   | ||||
| @@ -1346,7 +1346,8 @@ normalize_win32_path (const char *src, char *dst, char *&tail) | ||||
|       else | ||||
| 	{ | ||||
| 	  tail = strchr (tail, '\0'); | ||||
| 	  *tail++ = '\\'; | ||||
| 	  if (tail[-1] != '\\') | ||||
| 	    *tail++ = '\\'; | ||||
| 	} | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user