diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-12-09 10:20:22 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-12-09 10:20:22 +0200 |
commit | ab64b769ca15d00257face17841c97d5405161a5 (patch) | |
tree | aaded1af54e8e67e82755a1d047b490c3170c3b0 | |
parent | 714eda455e0554b6a7b23cce77c2bf522b8578b5 (diff) |
Add note on fdterm() implementation for Windows
-rw-r--r-- | libbutl/fdstream.cxx | 3 |
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)); |