Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] find RLIM_NLIMITS correctly on Cygwin
On Fri, Mar 20, 2020 at 10:03 AM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
> The "limit" builtin is provided by a module. As such, it can be
> unavailable if the module had been disabled in config.modules prior to
> building.
>
> Proposed patch:
>
> + if grep '^name=zsh/rlimits .* link=no ' $ZTST_testdir/../config.modules >/dev/null
Wouldn't it be better to test this with "zmodload" rather than attempt
to examine the build config?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author