Cruft
Matthew Selsky
Matthew.Selsky at twosigma.com
Wed Sep 18 05:12:28 UTC 2019
On Tue, Sep 17, 2019 at 09:39:15PM -0700, Hal Murray wrote:
> > Only thing left to revert is missing guards near "switch (rl_what) {"
> > near line 3630 in ntpd/ntp_config.h
>
> The whole point of this change was to get rid of ifdefs that weren't needed
> because the symbols they were checking are in POSIX. Are we running on any
> systems that don't have RLIMIT_NOFILE or RLIMIT_STACK?
I'm talking about this snippet that was removed:
<----------------------------------------------->
switch (rl_what) {
-#ifdef RLIMIT_MEMLOCK
- case RLIMIT_MEMLOCK:
- /* ignore - for backward compatibility only */
- break;
-#endif /* RLIMIT_MEMLOCK */
<----------------------------------------------->
>
> Is this one of those half-in-POSIX cases where they say this is how to do it,
> but it's optional?
I'm still talking about RLIMIT_MEMLOCK.
Thanks,
-Matt
More information about the devel
mailing list