Corinna Vinschen 3a880bf5e0 Cygwin: fix Win32 path ".." backtracking
Commit 35998fc2fa6cbb7d761f6d88346246bd3627552b 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>
2018-09-01 21:06:24 +02:00
..
2016-11-24 16:09:31 +01:00
2018-08-07 14:51:10 +02:00
2018-08-07 14:51:10 +02:00
2016-08-23 15:07:42 +01:00
2016-06-25 00:43:01 +02:00
2018-02-20 17:59:53 +01:00
2015-03-03 12:58:34 +00:00
2016-06-24 23:32:39 +02:00
2018-03-06 18:23:23 +01:00
2015-11-18 19:09:47 +01:00
2017-03-27 22:03:58 +01:00
2018-08-07 14:51:10 +02:00
2018-08-07 14:51:10 +02:00
2015-08-17 11:05:43 +02:00
2016-06-23 21:30:15 +02:00
2018-02-07 13:07:44 +01:00
2018-04-16 22:46:11 -05:00
2018-02-07 13:07:44 +01:00
2018-08-07 14:51:10 +02:00
2017-03-27 22:03:58 +01:00
2016-06-23 16:56:41 +02:00
2017-04-24 17:14:03 +02:00