« Return to Thread: [PATCH] Fixed conkeror-spawn-helper.c for FreeBSD.

Re: [PATCH] Fixed conkeror-spawn-helper.c for FreeBSD.

by Jeremy Maitin-Shepard-2 :: Rate this Message:

Reply to Author | View in Thread

burin080@... 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
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

 « Return to Thread: [PATCH] Fixed conkeror-spawn-helper.c for FreeBSD.