Files
MSYS2-packages/msys2-runtime/0015-Add-debugging-for-strace-make_command_line.patch
T
Johannes Schindelin 18e0ba1177 msys2-runtime: fix Bad address when running cmd /c <command>
This imports https://github.com/msys2/msys2-runtime/pull/110 into the
`MSYS2-packages` repository, fixing a regression where `cmd /c
<command>` caused a `Bad address` error.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-10-24 08:54:31 +02:00

22 lines
739 B
Diff

From aaadd113642fa4989550b57e506e7f1648b2bf3d Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Fri, 21 Aug 2015 09:52:47 +0100
Subject: [PATCH 15/N] Add debugging for strace make_command_line
---
winsup/utils/mingw/strace.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/winsup/utils/mingw/strace.cc b/winsup/utils/mingw/strace.cc
index 3dbce3b..4e5d24c 100644
--- a/winsup/utils/mingw/strace.cc
+++ b/winsup/utils/mingw/strace.cc
@@ -352,6 +352,7 @@ create_child (char **argv)
flags |= CREATE_NEW_CONSOLE | CREATE_NEW_PROCESS_GROUP;
make_command_line (one_line, argv);
+ printf ("create_child: %s\n", one_line.buf);
SetConsoleCtrlHandler (NULL, 0);
/* Commit message for this code was: