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 Mon, Jan 25, 2021 at 02:46:02PM +0100, Rhialto wrote:
> 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...
It serves two purposes: changing and printing the limits. An external
cd(1) program could still be used to test for the existance and
executability of a directory :)
Joerg
Home |
Main Index |
Thread Index |
Old Index