delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/06/04:47:08

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:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=kevfGNEy/fn0uMxVkYc/11aAhI9YL+oZH+m3tK12R9Q1//mgzG7r9
GresQVceVJj8B6Fpkkkq6K9VihWA33GK5b1Y2WR3Hyh29PTYi0dJEn8R3KmTLWj9
uU/VsVCMyuL99aoEbXK8DFTaaMyK/8SZLR2/H6xToHjVlcViYoMW6A=
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:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=LziNyWndSFlHB/hnGljXVdqLG7k=; b=Mo2rO5bxrPXuyDNLL/+x95jBoh7p
3Is9DP9dmDNKYnezlOQN++b0hC8VkxhRaqSLfXLVUvuHoFO2Zca04ePMGzToiq/w
j4R0tuLuNyWAI+qTIxfLEoCWb1lEJn9w4XarjpE0UmGoZLhNGmL21nGzhpNM2Gq4
hGhOGpxaPUv7yuQ=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 6 Aug 2014 10:46:47 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: missing extern "C" in sys/file.h
Message-ID: <20140806084647.GH13601@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1407297249 DOT 3606977 DOT 149614053 DOT 402F576E AT webmail DOT messagingengine DOT com>
MIME-Version: 1.0
In-Reply-To: <1407297249.3606977.149614053.402F576E@webmail.messagingengine.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Aug  5 23:54, Anthony Heading wrote:
> I guess this patch is right.

You guessed right.  Patch applied.


Thanks,
Corinna

> --- sys/file.h.Orig     2014-08-05 23:46:27.199694300 -0400
> +++ sys/file.h  2014-08-05 23:46:55.919734500 -0400
> @@ -39,7 +39,14 @@
>  #define LOCK_NB                0x04            /* don't block when
>  locking */
>  #define LOCK_UN                0x08            /* unlock file */
>=20
> +#ifdef __cplusplus
> +extern "C"
> +{
> +#endif
>  extern int flock _PARAMS ((int, int));
> +#ifdef __cplusplus
> +}
> +#endif
>=20
>  #endif

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

--N1GIdlSm9i+YlY4t
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJT4et3AAoJEPU2Bp2uRE+gmgwP/2J2f3R5JupHU/WqfLLSXD4d
GVLSnp1MmgAnrkqI95xrN75s+vEjL9WgHM50s7fRrU7GcsJwDW43To1sUNoG++0Q
KKBDQAQhXct4TdPx+bNbUbN5yxnqQoE/1+7rX2XVyHQokp4KJcHqTNZ5OjrlTjNj
xrOXsvbT5z6i8USyvbQZLvrqdBKTMpLaIib9ZifV+OGvs6uH49kACnhnAppiBqld
wWH1b1rCXlNcdBiyH41CV7WRRtU9y62np45u7ECgJ1sUP2KbstoSrHGKicqaUMwp
WdOztxk2xaUSxtJpIsEDQN5q1/yLoe0KYUmg4RpF8+viR5VUP6eG7z9lxD76aazJ
ubZRCMG0+3Ds69Le/ds12Pd8wQM+HkPQvFIusF7Q6WIfA6eRyihlYIHXDd2YmJ/L
fd5zKpcf1EUyV/cXW/BZrhxz7O3reeS7znAYX+/ZPZ9Nwq8UJX7PlL1JGyAK50Ma
f2jQazvH9RLpcnKKoYNRUyWh7iBQQ0tWw6oCzvQHlXJ7ePe/tnCR4jRKQqD9bEsv
SB6KXtmrbwjCx7b/tmJzVpDNN9Q3vQ/XvW8D0Uj2eMr/HYz2zIpTuGIFVzD5khUh
QER68danGOS7xbwCCXt05mMHWXWN1nkBY5R1UpJn1yhhLIEWAZSOgK6VJzmEtBCd
7Z6uuwYg8UBy7J+wLL4d
=WZgc
-----END PGP SIGNATURE-----

--N1GIdlSm9i+YlY4t--

- Raw text -


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