summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Yano via Cygwin-patches <cygwin-patches@cygwin.com>2021-01-19 03:45:24 +0900
committerCorinna Vinschen <corinna@vinschen.de>2021-01-19 10:56:18 +0100
commit59ccb3a00815cef8e4dd7b4b7b99980862de0476 (patch)
tree4d4bf77867b6c4386a20e9bf7af0debe16a105b0
parent877f0d13f0f6c6cc8b7988951edac73709d82861 (diff)
downloadcygnal-59ccb3a00815cef8e4dd7b4b7b99980862de0476.tar.gz
cygnal-59ccb3a00815cef8e4dd7b4b7b99980862de0476.tar.bz2
cygnal-59ccb3a00815cef8e4dd7b4b7b99980862de0476.zip
Cygwin: spawn.cc: Fix typo in comment by commit 974e6d76.
-rw-r--r--winsup/cygwin/spawn.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc
index 42044ab53..d03492ee6 100644
--- a/winsup/cygwin/spawn.cc
+++ b/winsup/cygwin/spawn.cc
@@ -636,7 +636,7 @@ child_info_spawn::worker (const char *prog_arg, const char *const *argv,
}
struct fhandler_console::handle_set_t cons_handle_set = { 0, };
if (cons_native)
- /* Console handles will be closed by close_all_handle(),
+ /* Console handles will be closed by close_all_files(),
therefore, duplicate them here */
cons_native->get_duplicated_handle_set (&cons_handle_set);