From 23c6ed039467501a15afe650efcc6a6354e7687d Mon Sep 17 00:00:00 2001 From: Brian Dessent Date: Sat, 8 Mar 2008 03:28:34 +0000 Subject: * dtable.cc (handle_to_fn): Null-terminate posix_fn in the case of justslash = true. --- winsup/cygwin/dtable.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/dtable.cc') diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index 2670e53b6..aaa536525 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -952,6 +952,7 @@ handle_to_fn (HANDLE h, char *posix_fn) *d = '/'; else *d = *s; + *d = 0; } debug_printf ("derived path '%s', posix '%s'", w32, posix_fn); -- cgit v1.2.3