[Conkeror] [PATCH] Fixed conkeror-spawn-helper.c for FreeBSD.
Jeremy Maitin-Shepard
jeremy at jeremyms.com
Thu Jun 18 12:30:00 PDT 2009
burin080 at planet.nl writes:
>> Thanks for the fix. I'm curious: what error do you get without this
>> patch?
> ---
> conkeror-spawn-helper.c: In function 'main':
> conkeror-spawn-helper.c:234: error: storage size of 'file_lim' isn't known
> conkeror-spawn-helper.c:236: error: 'RLIMIT_NOFILE' undeclared (first use in
> this function)
> conkeror-spawn-helper.c:236: error: (Each undeclared identifier is reported only
> once
> conkeror-spawn-helper.c:236: error: for each function it appears in.)
> *** Error code 1
> ---
Thanks. I had forgotten that it uses getrlimit to determine the
max. number of file descriptors (so that it can close all file
descriptors) in the case that the proc filesystem is unavailable.
--
Jeremy Maitin-Shepard
More information about the Conkeror
mailing list