aboutsummaryrefslogtreecommitdiff
path: root/libbutl
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-12-09 10:20:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-12-09 10:20:22 +0200
commitab64b769ca15d00257face17841c97d5405161a5 (patch)
treeaaded1af54e8e67e82755a1d047b490c3170c3b0 /libbutl
parent714eda455e0554b6a7b23cce77c2bf522b8578b5 (diff)
Add note on fdterm() implementation for Windows
Diffstat (limited to 'libbutl')
-rw-r--r--libbutl/fdstream.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbutl/fdstream.cxx b/libbutl/fdstream.cxx
index 809178a..77002ce 100644
--- a/libbutl/fdstream.cxx
+++ b/libbutl/fdstream.cxx
@@ -1859,6 +1859,9 @@ namespace butl
bool
fdterm (int fd)
{
+ // @@ Both GCC and Clang simply call GetConsoleMode() for this check. I
+ // wonder why we don't do the same?
+
// We don't need to close it (see fd_to_handle()).
//
HANDLE h (fd_to_handle (fd));