mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-03-03 13:35:46 +08:00
* path.cc (normalize_win32_path): Don't add a trailing '\' if the cwd returns a
path with a trailing '\'.
This commit is contained in:
parent
dc74da050c
commit
6865f89087
@ -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>
|
2008-11-07 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* pthread.cc (pthread_mutex::_unlock): Avoid unlocking a mutex if the
|
* pthread.cc (pthread_mutex::_unlock): Avoid unlocking a mutex if the
|
||||||
|
@ -1346,6 +1346,7 @@ normalize_win32_path (const char *src, char *dst, char *&tail)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
tail = strchr (tail, '\0');
|
tail = strchr (tail, '\0');
|
||||||
|
if (tail[-1] != '\\')
|
||||||
*tail++ = '\\';
|
*tail++ = '\\';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user