From: Thibault Godouet Date: Mon, 28 Aug 2000 18:00:34 +0000 (+0000) Subject: now do a logic AND between the lavg values by default X-Git-Tag: ver2_9_4~619 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c3f2fef0fc2de1b896364ce22e7239c40cc47d5;p=thirdparty%2Ffcron.git now do a logic AND between the lavg values by default --- diff --git a/option.h b/option.h index 21d5ba5..403d9f0 100644 --- a/option.h +++ b/option.h @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: option.h,v 1.7 2000-08-22 21:20:11 thib Exp $ */ + /* $Id: option.h,v 1.8 2000-08-28 18:00:34 thib Exp $ */ /* read and set options of a line */ @@ -90,16 +90,16 @@ /* - bit 2 : set to 1 : perform a logic AND between load averages - set to 0 : perform a logic OR between load averages + bit 2 : set to 1 : perform a logic OR between load averages + set to 0 : perform a logic AND between load averages */ -#define is_land(opt) \ - (_bit_test(opt, 2)) #define is_lor(opt) \ + (_bit_test(opt, 2)) +#define is_land(opt) \ ( ! _bit_test(opt, 2)) -#define set_land(opt) \ - (_bit_set(opt, 1)) #define set_lor(opt) \ + (_bit_set(opt, 1)) +#define set_land(opt) \ (_bit_clear(opt, 2)) /*