Skip to content

Commit d2456ea

Browse files
committed
Add a helpful debug message for posix-to-windows conversion
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent a5012b9 commit d2456ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

winsup/cygwin/msys2_path_conv.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ void find_end_of_rooted_path(const char** from, const char** to, int* in_string)
238238
void sub_convert(const char** from, const char** to, char** dst, const char* dstend, int* in_string) {
239239
const char* copy_from = *from;
240240
path_type type = find_path_start_and_type(from, false, *to);
241+
debug_printf("found type %d for path %s", type, copy_from);
241242

242243
if (type == POSIX_PATH_LIST) {
243244
find_end_of_posix_list(to, in_string);

0 commit comments

Comments
 (0)