summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/src/cnxconsole.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/nxwm/src/cnxconsole.cxx')
-rw-r--r--NxWidgets/nxwm/src/cnxconsole.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/NxWidgets/nxwm/src/cnxconsole.cxx b/NxWidgets/nxwm/src/cnxconsole.cxx
index 3cf5e13b9..fb6ca680a 100644
--- a/NxWidgets/nxwm/src/cnxconsole.cxx
+++ b/NxWidgets/nxwm/src/cnxconsole.cxx
@@ -357,7 +357,9 @@ int CNxConsole::nxconsole(int argc, char *argv[])
}
// Now re-direct stdout and stderr so that they use the NX console driver.
- // Note that stdin is retained (file descriptor 0, probably the the serial console).
+ // Notes: (1) stdin is retained (file descriptor 0, probably the the serial
+ // console). (2) Don't bother trying to put debug instrumentation in the
+ // following becaue it will end up in the NxConsole window.
(void)std::fflush(stdout);
(void)std::fflush(stderr);
@@ -372,7 +374,7 @@ int CNxConsole::nxconsole(int argc, char *argv[])
std::close(fd);
- // Inform the parent thread that we successfully initialize
+ // Inform the parent thread that we successfully initialized
g_nxconvars.result = true;
sem_post(&g_nxconvars.sem);