← Commit list

5e883fb00

Denis Vlasenko
Denis Vlasenko
2009-04-06
FAILED Duration: 31s

Subject

hush: micro-optimization. -37 bytes

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/hush.c+1 -1
@@ -1799,7 +1799,7 @@ static int expand_vars_to_list(o_string *output, int n, char *arg, char or_mask)
//bb_error_msg("'%s' -> '%s'", arg, dest.data);
exp_str = expand_string_to_string(dest.data);
//bb_error_msg("'%s' -> '%s'", dest.data, exp_str);
- o_free(&dest);
+ o_free_unsafe(&dest);
}
hooks.lookupvar = get_local_var_value;
hooks.setvar = arith_set_local_var;