Re: [Exim] WishList #91 patch ($load_average variable)

Pàgina inicial
Delete this message
Reply to this message
Autor: Oliver Gorwits
Data:  
A: exim-users
Assumpte: Re: [Exim] WishList #91 patch ($load_average variable)
folks,

I've just noticed that care needs to be taken if you make use
of the exiscan patch, as it also fiddles with expand.c

below is an alternative to my previous post, to be applied
*after* exiscan.

regards,
oliver.

--
150a151
>   vtype_load_avg,       /* value not used; result is int from os_getloadavg */

181a183
>   { "load_average",        vtype_load_avg,    NULL },

734a737,740
>     case vtype_load_avg:
>     sprintf(CS var_buffer, "%d", os_getloadavg()); /* load_average */
>     return var_buffer;

>



--
Oliver Gorwits <oliver.gorwits@???>
Network Software Group
Oxford University Computing Services