2002-01-30 10:15:47

by Alex

[permalink] [raw]
Subject: [PATCH] Replaces if(x) BUG() with BUG_ON(x)

Hi,
This patch replaces most instances of
if(condition) BUG();
with
BUG_ON(condition);
taking advantage of the new API. Since it's a large patch (9000 lines)
it's available at http://web.mit.edu/akhripin/Public/bug_on_patch
-Alex Khripin


2002-01-30 11:03:01

by Alex

[permalink] [raw]
Subject: Re: [PATCH] Replaces if(x) BUG() with BUG_ON(x)

My apologies, the patch originally posted had some
extraneous material. There is a new patch at the same
address:
http://web.mit.edu/akhripin/Public/bug_on_patch
-Alex Khripin