>From: Kirill Miazine <km@???>
>To: exim-users@???
>Subject: Re: [Exim] 4.12 bug-fix release
>Date: Wed, 18 Dec 2002 10:20:29 +0100
>
>gcc -c -O -I. -I/usr/include/openssl exim.c
>exim.c: In function `main':
>exim.c:2269: syntax error before `void'
>*** Error code 1
>
>Stop in /local/src/exim-4.12/build-OpenBSD-i386.
>*** Error code 1
>
>Stop in /local/src/exim-4.12 (line 64 of Makefile).
Here's the simple patch which I've just sent to Phil:
*** src/exim.c.orig Tue Dec 17 11:32:51 2002
--- src/exim.c Wed Dec 18 09:32:18 2002
***************
*** 2264,2270 ****
#endif
#ifdef RLIMIT_NPROC
#ifdef RLIM_INFINITY
! rlp.rlim_cur = rlp.rlim_max = RLIM_INFINITY
#endif
(void)setrlimit(RLIMIT_NPROC, &rlp);
#endif
--- 2264,2270 ----
#endif
#ifdef RLIMIT_NPROC
#ifdef RLIM_INFINITY
! rlp.rlim_cur = rlp.rlim_max = RLIM_INFINITY;
#endif
(void)setrlimit(RLIMIT_NPROC, &rlp);
#endif