X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fassert.c;h=fbee63404eb97417ea59fcf0cb97cb6b34c04713;hb=cc5574eddc174250bb59418db3d9930d754bbeab;hp=ed56fc60727d61a4639a2f72e1509e16fb98ed2d;hpb=d9dcf16664c81809258992e1653ecb68c8079974;p=pdclib.old diff --git a/functions/_PDCLIB/assert.c b/functions/_PDCLIB/assert.c index ed56fc6..fbee634 100644 --- a/functions/_PDCLIB/assert.c +++ b/functions/_PDCLIB/assert.c @@ -45,7 +45,7 @@ static int UNEXPECTED_ABORT = 1; static void aborthandler( int sig ) { TESTCASE( ! EXPECTED_ABORT ); - exit( (signed int)rc ); + exit( (signed int)TEST_RESULTS ); } #define NDEBUG