delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/04/01/04:39:21

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 42B9B385DC1E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1585730322;
bh=LxFlPs5ELCPgHnPa8eaz/bT1mAEEV50bUl3OAI80+r8=;
h=Date:From:To:Subject:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
Reply-To:From;
b=gnGxHhMhP93UiUcVGW/U5v8I6g+AIgYjNGnCO4p5Krgl3ep6msrbn6FmzoVF8zK6N
6OPQXb6S4dPNUASYOau3CuaeNb9et13S210LIPuJatD7NtKEinrmqhADFqH5V9vlFA
lbQPmBOdETBEZLrTh96jp6AQ7niWZOhRx4uqxTRg=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8F9D9385DC01
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=cygwin.com
Authentication-Results: sourceware.org;
spf=fail smtp.mailfrom=corinna-cygwin AT cygwin DOT com
Date: Wed, 1 Apr 2020 10:38:36 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [PATCH] winsup/cygwin: remove defines added in mingw-w64 v7.0.0
Message-ID: <20200401083836.GU3261@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CALK-3mJPKThWyTOGucypDisH9psSMiA-RtAoG+Xiq2_GRLGjdQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CALK-3mJPKThWyTOGucypDisH9psSMiA-RtAoG+Xiq2_GRLGjdQ@mail.gmail.com>
X-Provags-ID: V03:K1:k/AmCgL3RO3VmVFMGO4GwvgWKY+2oT1ZLkG6icm0NTcCqwjA2nu
+CnRDeXL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/0YkvpL8kI+PWo
X-Spam-Status: No, score=-104.0 required=5.0 tests=BAYES_00, GIT_PATCH_0,
GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, GOOD_FROM_CORINNA_CYGWIN,
KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

--===============5456899293157847485==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="LwbuP8dfxhLLLUfV"
Content-Disposition: inline


--LwbuP8dfxhLLLUfV
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Apr  1 11:20, Biswapriyo Nath via Cygwin wrote:
> Patch file attached.

Thanks, but except for removing DiscardVirtualMemory, this won't work
for now.  The Cygwin w32api headers on Fedora where I'm building
Cygwin are still version 5.0.4.

But thanks all the same.  As soon as the Fedora version gets bumped,
I'll apply this patch.


Corinna


> From fcc8f83f4d47ba9f755725c64218f2f13e9a8e2d Mon Sep 17 00:00:00 2001
> From: Biswapriyo Nath <nathbappai AT gmail DOT com>
> Date: Wed, 1 Apr 2020 11:20:00 +0530
> Subject: [PATCH] winsup/cygwin: remove defines added in mingw-w64 v7.0.0
>=20
> Signed-off-by: Biswapriyo Nath <nathbappai AT gmail DOT com>
> ---
>  winsup/cygwin/mmap.cc   |  3 ---
>  winsup/cygwin/uinfo.cc  |  3 ---
>  winsup/cygwin/winlean.h | 11 -----------
>  3 files changed, 17 deletions(-)
>=20
> diff --git a/winsup/cygwin/mmap.cc b/winsup/cygwin/mmap.cc
> index d8ef037..662489c 100644
> --- a/winsup/cygwin/mmap.cc
> +++ b/winsup/cygwin/mmap.cc
> @@ -1466,9 +1466,6 @@ munlock (const void *addr, size_t len)
>    return ret;
>  }
> =20
> -/* This is required until Mingw-w64 catches up with newer functions. */
> -extern "C" WINAPI DWORD DiscardVirtualMemory (PVOID, SIZE_T);
> -
>  extern "C" int
>  posix_madvise (void *addr, size_t len, int advice)
>  {
> diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc
> index bfcce00..2d5de35 100644
> --- a/winsup/cygwin/uinfo.cc
> +++ b/winsup/cygwin/uinfo.cc
> @@ -1912,9 +1912,6 @@ pwdgrp::construct_sid_from_name (cygsid &sid, wchar=
_t *name, wchar_t *sep)
>    return false;
>  }
> =20
> -/* CV 2018-08-28: SidTypeLogonSession is not yet defined in Mingw64. */
> -#define SidTypeLogonSession 11
> -
>  char *
>  pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, cyg_ldap *pld=
ap)
>  {
> diff --git a/winsup/cygwin/winlean.h b/winsup/cygwin/winlean.h
> index 1332cb7..9b30b65 100644
> --- a/winsup/cygwin/winlean.h
> +++ b/winsup/cygwin/winlean.h
> @@ -94,15 +94,4 @@ details. */
>  #define GetWindowsDirectoryW dont_use_GetWindowsDirectory
>  #define GetWindowsDirectoryA dont_use_GetWindowsDirectory
> =20
> -/* For console with xterm compatible mode */
> -/* Not yet defined in Mingw-w64 */
> -#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING
> -#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004
> -#endif /* ENABLE_VIRTUAL_TERMINAL_PROCESSING */
> -#ifndef ENABLE_VIRTUAL_TERMINAL_INPUT
> -#define ENABLE_VIRTUAL_TERMINAL_INPUT 0x0200
> -#endif /* ENABLE_VIRTUAL_TERMINAL_INPUT */
> -#ifndef DISABLE_NEWLINE_AUTO_RETURN
> -#define DISABLE_NEWLINE_AUTO_RETURN 0x0008
> -#endif /* DISABLE_NEWLINE_AUTO_RETURN */
>  #endif /*_WINLEAN_H*/
> --=20
> 2.26.0
>=20

> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple


--=20
Corinna Vinschen
Cygwin Maintainer

--LwbuP8dfxhLLLUfV
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl6EUwwACgkQ9TYGna5E
T6AdNQ/7BVBqd93MrrTLIKVAT920QPN3vovqUwXY50Y4SRKCrdO+xvCnfg2AG1pX
oAyS8236Xkt7GS2aI13ycMalCU8+kElDbOWRjMkyEfCeGk6E90E3EFg/gbh6xrp4
fDjzpGmHKDuHgESxpc/a0OspVi2GMqH+AYUS4IPvDZw6rXGwoWxzn/mQCX3vCezc
0Dk92aZTyH4hxCwhWEuc8+t0c5XGNzgdKfOxW+JBvR6Hp3vbXCmeGnMPvqnNi1uN
aNHG/yBaNcYwZb8ndODJbTdoYPvddcPWNuScfZCamDxGgfyOsfONjbfkYiu1Zlmc
4qV1U7ovbjrL7ydV8YbMaQGWoPI+3gKHX9SovijP6m0NX5OUNvFRAttUPe+pK4hR
A7Hc5xJ+iIUivE0CFPfJJYe4m3qz1+vQzpmLWgQvqkJLeN/rrRCct+PKiYrkyoDP
oGd41U3n7a6VKEACUuKLpHx8gksTZEbyuU6b33Q3uDiGRyXnOu6VAyEKUjHkHbMW
3WfcVrvlS3QpQVIstf6L4YHYtm7SUg/ujEGdHjn7hhTu82ivU31HDIM144ocCqPt
tvXTt+kjLVSqq+CeZCZZ8iA7iYYK7pcZAjBQPXKWYSO2QnE6rVQvtgbH3JoYuDix
HEaqZWVfGIdJrNHurJKDUr3yW1NI4eI5CLkBUUDue6fNlauRR1Y=
=2vDe
-----END PGP SIGNATURE-----

--LwbuP8dfxhLLLUfV--

--===============5456899293157847485==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

--===============5456899293157847485==--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019