This patch is risky, because the * in (.+\n)* is greedy; you want it to not be 
greedy.  I've applied a related patch.  Although the problem is probably that 
ilog2 should be returning a compile time constant in C++ but is not.  Without 
a correctly set up Linux I can't check.

E


On 09/25/2010 10:39 PM, Joonwoo Park wrote:
> +         if ($d eq "sched.h") {
> +             s<(^extern char ___assert_task_state)((.+\n)*.*(\;))><\#ifndef 
> __cplusplus\n$1$2\n\#endif>mg;
> +         }
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to