diff options
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1658,6 +1658,8 @@ static struct expr *parse_newerxy(struct parser_state *state, int arg1, int arg2 expr->reftime = *reftime; } + expr->cost = STAT_COST; + return expr; fail: @@ -1672,6 +1674,7 @@ static struct expr *parse_nogroup(struct parser_state *state, int arg1, int arg2 struct expr *expr = parse_nullary_test(state, eval_nogroup); if (expr) { expr->cost = 9000.0; + expr->probability = 0.01; expr->ephemeral_fds = 1; } return expr; @@ -1703,6 +1706,7 @@ static struct expr *parse_nouser(struct parser_state *state, int arg1, int arg2) struct expr *expr = parse_nullary_test(state, eval_nouser); if (expr) { expr->cost = 9000.0; + expr->probability = 0.01; expr->ephemeral_fds = 1; } return expr; |