X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AFD1E38708D4
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1613488984;
	bh=geErgq/Wr7zJkkPmys/98U/lSYxMsYjg4mLAmJO8BbM=;
	h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=ye+mDdb6kZFTnFmV5j0jbP0PVL8bRUMZ0Bq/BMbhKR2fdDbz9yTJN43Xs38WFANl0
	 CUNAkrneztxU4jFbOyIWHAKzrmB92pm9bqBK5Nz2ZhN50qJUIvVkdo04m/Rua4oLJb
	 FATXv+Dz1zUk/moqBi/8H3HUiL5b5YFQ7d7Q0AAM=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B8A623858018
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=KmV8m+U/ZkJYiVhzrIH8sHXkIM+5/ihxyfn7d3Rlab8=;
 b=pei9L2E7UVg9u9UQv+cjLPqgeGM9PhRy3A3wk4fdyY26fBMCQ90VWSZzZI+zSEu1lv
 lx+JKZedJzwAPmX5alK4O0T8q5YWw3B+ZBHMkx76yG0fVFOou56YbwZ05uNAekZaBlOU
 GMcpVd3CXdsAA7jmz3jMGkA6ByUs7+YX/3DaU7EiPGHv+LN1GJlzHAfpf9YMUdB0WTo6
 MNNsQlFUsfib6OqBbVuvLHaBGFPy7GDKpSSM/ZqtF0Bcz+G+4kwADxxNdEVEQLaXDkVs
 P3I3wHsWHjyGvc4VbPcjx+A/9z3k8EFl0J76GzNr4jc/RHCK5maMPZ/3XKCVqWTdiXG2
 sSmg==
X-Gm-Message-State: AOAM533yerae3nmrjvn5cWTDY9OSLprw4NMnJ/xRc+Po+EGgBbYSBYsF
 OMEI93xWYaPAsxIhuq3bLXnQw/OPAECAoA==
X-Google-Smtp-Source: ABdhPJwI4Pq2px6j22mPdtDH4/wU99o/hSQsbZDZVjn3Ocjbp2YruTjGf8N3ntJTln719fS8QSFB1Q==
X-Received: by 2002:adf:ec8b:: with SMTP id z11mr21572011wrn.374.1613488979718; 
 Tue, 16 Feb 2021 07:22:59 -0800 (PST)
Subject: Re: setrlimit always fails
To: cygwin@cygwin.com
References: <b0924bcb-56d0-a026-84b5-71750537facb@fexl.com>
 <1c233bc7-401b-568f-36d5-48c4f1d4dcea@cornell.edu>
 <efc6c8da-7c22-4c8a-a334-c9803efb0e10@fexl.com>
 <20210215091419.GJ4251@calimero.vinschen.de>
 <b55c516e-4b20-2dbb-3785-a7006dd049eb@fexl.com>
 <YCreBGKMpVwfWrvR@calimero.vinschen.de>
 <d37ecbe9-491b-fb6d-dac8-f1b333a34a4b@fexl.com>
Message-ID: <2dd8de1e-f29f-534e-a476-fc65162d09cf@gmail.com>
Date: Tue, 16 Feb 2021 16:22:53 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.7.0
MIME-Version: 1.0
In-Reply-To: <d37ecbe9-491b-fb6d-dac8-f1b333a34a4b@fexl.com>
Content-Language: it
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin@cygwin.com>
Reply-To: Marco Atzeri <marco.atzeri@gmail.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On 16.02.2021 15:53, Patrick Chkoreff wrote:
> Corinna Vinschen wrote on 2/15/21 3:48 PM:
> 
>> On Feb 15 14:54, Patrick Chkoreff wrote:
>>> Corinna Vinschen wrote on 2/15/21 4:14 AM:
>>> To fix that, I must define _USE_XOPEN
>>
>> You really, really must not use this macro.
> 
> I'm glad to hear something definitive about that.  I don't even remember
> how I arrived at that hack.

FYI

/usr/include/sys/features.h

provides the full framework for the different options

Regards
Marco
--
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
