delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/18/05:11:14

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:cc:subject:message-id:references
:mime-version:content-type:in-reply-to; q=dns; s=default; b=K+Dy
Ujlj5ZWZnhhDjURQ6PtXJRyKXGfsu5BUe9TBJZrb66gi2SF2PJgPzj7Fc6w9Sh9p
I0owqpBFenkfhl3ESr15ltx6XvOkY3q0H+snvIuViZBtf1+vj6RYPdAC88ENoKI9
G2yAfFR/IGHOTcdDmt3WfINOW6M8EidBL+d7FFs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:cc:subject:message-id:references
:mime-version:content-type:in-reply-to; s=default; bh=ZE26Jrxq6d
uizDyya71fOmnk8uc=; b=G5TVski+SZKQBMFGVRPUgtXAZJUShdBXTpFJruDyzb
kmy4YalOvulQcz2ZnhvGmW7bEzQCGLgizYmXZsICAvhOzd5x+pEtBr2BNOoWcJRP
wiT0DHWKlTRCvS9QxRe+QKEoK6c9hmFGqOfEGpJtKsVWNWB+Pi3zxKiyG4ZGAugZ
A=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-Spam-User: qpsmtpd, 2 recipients
X-HELO: calimero.vinschen.de
Date: Tue, 18 Aug 2015 11:10:51 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: newlib AT sourceware DOT org
Subject: Re: [PATCH] sys/signal.h: include sys/ucontext.h on Cygwin per POSIX.1-2008
Message-ID: <20150818091051.GM17917@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com, newlib AT sourceware DOT org
References: <20150817121015 DOT GF18305 AT calimero DOT vinschen DOT de> <1439865979-12361-1-git-send-email-yselkowi AT redhat DOT com>
MIME-Version: 1.0
In-Reply-To: <1439865979-12361-1-git-send-email-yselkowi@redhat.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--KR/qxknboQ7+Tpez
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Aug 17 21:46, Yaakov Selkowitz wrote:
> * libc/include/sys/signal.h [__CYGWIN__]: include <sys/ucontext.h>
> if compiling for POSIX.1-2008.
>=20
> Signed-off-by: Yaakov Selkowitz <yselkowi AT redhat DOT com>
> ---
> How about this?  Other places I tried didn't compile.
>=20
>  newlib/libc/include/sys/signal.h | 6 ++++++
>  1 file changed, 6 insertions(+)
>=20
> diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/s=
ignal.h
> index af5a489..e9aba7c 100644
> --- a/newlib/libc/include/sys/signal.h
> +++ b/newlib/libc/include/sys/signal.h
> @@ -352,6 +352,12 @@ int _EXFUN(sigqueue, (pid_t pid, int signo, const un=
ion sigval value));
>  }
>  #endif
>=20=20
> +#if defined(__CYGWIN__)
> +#if __POSIX_VISIBLE >=3D 200809
> +#include <sys/ucontext.h>
> +#endif
> +#endif
> +
>  #ifndef _SIGNAL_H_
>  /* Some applications take advantage of the fact that <sys/signal.h>
>   * and <signal.h> are equivalent in glibc.  Allow for that here.  */
> --=20
> 2.4.3

Looks good, I applied the patch.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--KR/qxknboQ7+Tpez
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJV0vabAAoJEPU2Bp2uRE+gq5kP/0ugszrC6luvxHO7B2UALFZR
puPc61/YcHrRM5sUC0Lb2dvwZFtERbbQwkVvbZdxXa8jxsrevBRVEBHuW8BDO4kh
TfxkjafS1U9/JsFqFRaTyMSzPBYXzsF0YVMKh8JgwULv8OJ0I8HMKPjW9sQLq3dP
0NqI1xCSnw+CQhvFz31nrjddvFza8mw+F1qqOigzEieQqosGVKvbvnu5ilpBcLrB
8Pp5PPNST6e673pD8tOlISr+ZTVHymitwdiYkxgaACLKak4X4xBkvH2HPtI1dOA3
M3DpoYVXj9ZaWnqYnQt3nmupR2YVu7Tf4w0y+CB7tLGMoBss96XMCs/zeA+XLtrX
Bp7jka5xItfJp1spDkhy1Ky5Xb9nYdfW6YpEUTGvT7vio1J89bI6/FPddI/QPxTq
t9w+tcNA7NRtOljBDlJdJdAS1WUWI0pFvQg/LRNL59yGUzWgFDI1q/AVsVEJd3xI
UWkdu483N4H9QN4USZC1ll3v+qKIHU5v2D0qK9AJnWxVrlcsjiHOHT4o0KgDOPUa
XYqIaBHUORD9t1AQ5AKtov50jy3rNce6ltAbj2attXxBpPrJaaJ0DqtPRR+S5Hmn
sMnx5lZQa9X4h+/fZdCxxtbtVDGLvaSmjxnwWzXX1SeOP/6NFHsmiVzHIfGDGZGe
2nFHxszbdhdXiC43M7jI
=m4bM
-----END PGP SIGNATURE-----

--KR/qxknboQ7+Tpez--

- Raw text -


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