Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2006 09:34:31 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        David Syphers <dsyphers@u.washington.edu>, freebsd-ports@freebsd.org, Alex Dupre <ale@FreeBSD.org>
Subject:   Re: gamin opens too many files
Message-ID:  <442A9AF7.3030505@mac.com>
In-Reply-To: <442A9864.9070500@mac.com>
References:  <200603282023.51439.dsyphers@u.washington.edu> <442A2779.4070708@FreeBSD.org> <442A9864.9070500@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Swiger wrote:
>     if (getrlimit(RLIMIT_NOFILE, 0) == 0) {
                                  ^^^
s/0/&rl

(Sorry, I was testing to make sure the failure case actually printed something.)

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?442A9AF7.3030505>