Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 28 May 2015 15:39:10 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] add missing legacy RLIM64_INFINITY LFS64 alias

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.