From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 939D938518B5; Sun, 4 Dec 2022 13:28:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 939D938518B5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670160482; bh=q0PUlfAGkProngaDvb+7WcBsluljC+UFAD+FZs75lbg=; h=From:To:Subject:Date:From; b=u85/tj4rWIENCpsxZgKabADSDjBK3bebGZC8KoL7zPF1Oo50/FeEqsKcY4oq5KNp1 3eGjFAnXNsm+LY2WWTLAuCJNLsx5NTDurVewfzAyqBllvdDMmhax6bcQL4nm3p070P LZM2pKrBwdLGKOFZc2g6JQHoEwqP4bVz2ao8c8+g= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: drop wincaps for Windows 7 and Windows 8 X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: ef741db52b4897de7bc169e2b9e76a07ba4d1ff3 X-Git-Newrev: 21d098eab1bbd35dc85ffc37c8290319510c14b1 Message-Id: <20221204132802.939D938518B5@sourceware.org> Date: Sun, 4 Dec 2022 13:28:02 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D21d098eab1b= bd35dc85ffc37c8290319510c14b1 commit 21d098eab1bbd35dc85ffc37c8290319510c14b1 Author: Corinna Vinschen AuthorDate: Tue Nov 15 17:59:44 2022 +0100 Commit: Corinna Vinschen CommitDate: Sun Dec 4 14:01:41 2022 +0100 Cygwin: drop wincaps for Windows 7 and Windows 8 =20 Signed-off-by: Corinna Vinschen Diff: --- winsup/cygwin/wincap.cc | 58 +--------------------------------------------= ---- 1 file changed, 1 insertion(+), 57 deletions(-) diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index 702d99e15b85..cc10e90dccab 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -19,50 +19,6 @@ details. */ in the same session. I'm only writing this longish comment because I'm puzzled that this has never been noticed before... */ =20 -wincaps wincap_7 __attribute__((section (".cygwin_dll_common"), shared)) = =3D { - { - is_server:false, - has_new_pebteb_region:false, - has_unprivileged_createsymlink:false, - has_precise_interrupt_time:false, - has_posix_unlink_semantics:false, - has_posix_unlink_semantics_with_ignore_readonly:false, - has_case_sensitive_dirs:false, - has_posix_rename_semantics:false, - has_con_24bit_colors:false, - has_con_broken_csi3j:false, - has_con_broken_il_dl:false, - has_con_esc_rep:false, - has_extended_mem_api:false, - has_tcp_fastopen:false, - has_linux_tcp_keepalive_sockopts:false, - has_tcp_maxrtms:false, - has_con_broken_tabs:false, - }, -}; - -wincaps wincap_8 __attribute__((section (".cygwin_dll_common"), shared)) = =3D { - { - is_server:false, - has_new_pebteb_region:false, - has_unprivileged_createsymlink:false, - has_precise_interrupt_time:false, - has_posix_unlink_semantics:false, - has_posix_unlink_semantics_with_ignore_readonly:false, - has_case_sensitive_dirs:false, - has_posix_rename_semantics:false, - has_con_24bit_colors:false, - has_con_broken_csi3j:false, - has_con_broken_il_dl:false, - has_con_esc_rep:false, - has_extended_mem_api:false, - has_tcp_fastopen:false, - has_linux_tcp_keepalive_sockopts:false, - has_tcp_maxrtms:false, - has_con_broken_tabs:false, - }, -}; - wincaps wincap_8_1 __attribute__((section (".cygwin_dll_common"), shared))= =3D { { is_server:false, @@ -304,19 +260,7 @@ wincapc::init () switch (version.dwMajorVersion) { case 6: - switch (version.dwMinorVersion) - { - case 1: - caps =3D &wincap_7; - break; - case 2: - caps =3D &wincap_8; - break; - case 3: - default: - caps =3D &wincap_8_1; - break; - } + caps =3D &wincap_8_1; break; case 10: default: