Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2022-11-15 23:50:13 +0300
committerCorinna Vinschen <corinna@vinschen.de>2022-12-04 16:01:41 +0300
commita3af720dee13cb83f50406c4cddda635aca03e31 (patch)
tree39c2233961b43558b2f7f272db5cc6825ff2edab /winsup/cygwin/fhandler
parent6951d258ebdc52711f94aa7c82ad223cf3700026 (diff)
Cygwin: fix a few comments mentioning Windows 7 or 8
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/fhandler')
-rw-r--r--winsup/cygwin/fhandler/pipe.cc3
-rw-r--r--winsup/cygwin/fhandler/proc.cc1
2 files changed, 0 insertions, 4 deletions
diff --git a/winsup/cygwin/fhandler/pipe.cc b/winsup/cygwin/fhandler/pipe.cc
index 608a78490..94b85c349 100644
--- a/winsup/cygwin/fhandler/pipe.cc
+++ b/winsup/cygwin/fhandler/pipe.cc
@@ -1179,9 +1179,6 @@ cache_err:
return get_query_hdl_per_process (name, ntfn); /* Since Win8 */
}
-/* This function is faster than get_query_hdl_per_system(), however,
- only works since Windows 8 because ProcessHandleInformation is not
- suppoted by NtQueryInformationProcess() before Windows 8. */
HANDLE
fhandler_pipe::get_query_hdl_per_process (WCHAR *name,
OBJECT_NAME_INFORMATION *ntfn)
diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup/cygwin/fhandler/proc.cc
index 24067f687..332bf2a7e 100644
--- a/winsup/cygwin/fhandler/proc.cc
+++ b/winsup/cygwin/fhandler/proc.cc
@@ -650,7 +650,6 @@ format_proc_cpuinfo (void *, char *&destbuf)
char *buf = tp.c_get ();
char *bufptr = buf;
- //WORD num_cpu_groups = 1; /* Pre Windows 7, only one group... */
WORD num_cpu_per_group = __get_cpus_per_group ();
cpu_num_p = wcpcpy (cpu_key, L"\\Registry\\Machine\\HARDWARE\\DESCRIPTION"