pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: building print/libcups, cannot set ulimit on centos stream



On Sun 24 Jan 2021 at 19:35:17 -0900, Michael Huff wrote:
> Thank you for the insight. For now, I was able to work around it by telling
> the different ULIMIT_CMD entries in mk/platform/Linux.mk to use
> /usr/bin/ulimit.

What use is an external command /usr/bin/ulimit? (Yes, I see one on my
Mac from $WORK: it contains builtin `echo ${0##*/} | tr \[:upper:]
\[:lower:]` ${1+"$@"})

Because ulimit is supposed to change the limits for the current process,
running it in a separate process (which happens for non-builtin shell
commands) has no effect at all on the current proces...
It's just like an external /bin/cd command...

So I wonder why that file even exists.

-Olaf.
-- 
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___  Anyone who is capable of getting themselves made President should on
\X/  no account be allowed to do the job.       --Douglas Adams, "THGTTG"

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index