mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH] add missing legacy RLIM64_INFINITY LFS64 alias
@ 2015-05-12 20:15 Felix Janda
  2015-05-28 19:39 ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Janda @ 2015-05-12 20:15 UTC (permalink / raw)
  To: musl

---
 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
-- 
2.3.6


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] add missing legacy RLIM64_INFINITY LFS64 alias
  2015-05-12 20:15 [PATCH] add missing legacy RLIM64_INFINITY LFS64 alias Felix Janda
@ 2015-05-28 19:39 ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2015-05-28 19:39 UTC (permalink / raw)
  To: musl

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-28 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-12 20:15 [PATCH] add missing legacy RLIM64_INFINITY LFS64 alias Felix Janda
2015-05-28 19:39 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).