From ab64b769ca15d00257face17841c97d5405161a5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 9 Dec 2022 10:20:22 +0200 Subject: Add note on fdterm() implementation for Windows --- libbutl/fdstream.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbutl') 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)); -- cgit v1.1