From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7813 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] add missing legacy RLIM64_INFINITY LFS64 alias Date: Thu, 28 May 2015 15:39:10 -0400 Message-ID: <20150528193909.GX17573@brightrain.aerifal.cx> References: <20150512201503.GA29801@euler> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1432841972 26709 80.91.229.3 (28 May 2015 19:39:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 May 2015 19:39:32 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7825-gllmg-musl=m.gmane.org@lists.openwall.com Thu May 28 21:39:27 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Yy3eH-0001nQ-Ut for gllmg-musl@m.gmane.org; Thu, 28 May 2015 21:39:26 +0200 Original-Received: (qmail 7288 invoked by uid 550); 28 May 2015 19:39:24 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 7267 invoked from network); 28 May 2015 19:39:23 -0000 Content-Disposition: inline In-Reply-To: <20150512201503.GA29801@euler> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:7813 Archived-At: On Tue, May 12, 2015 at 10:15:03PM +0200, Felix Janda wrote: > --- > include/sys/resource.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/sys/resource.h b/include/sys/resource.h > index 58392d6..101ea63 100644 > --- a/include/sys/resource.h > +++ b/include/sys/resource.h > @@ -96,6 +96,7 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *); > #define RLIM_NLIMITS RLIMIT_NLIMITS > > #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) > +#define RLIM64_INFINITY RLIM_INFINITY > #define getrlimit64 getrlimit > #define setrlimit64 setrlimit > #define rlimit64 rlimit Committed with RLIM64_SAVED_CUR and RLIM64_SAVED_MAX added. Rich