float_bessel: fix error of infinite loop
PATCH 1/1 float_bessel: fix error of infinite loop
Hi Garrett,
exit() should be modified to tst_exit() in function myexit().
Signed-off-by Peng Haitao <[email protected]>
--- testcases/misc/math/float/main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
testcases/misc/math/float/main.c +2 -2
@@ -42,7 +42,7 @@ myexit (int x)tst_resm (TFAIL ,"Test failed" ); else tst_resm (TPASS, "Test passed"); -exit (0 ); +tst_exit (); }TH_DATA *pcom;
@@ -428,4 +428,4 @@ static void sys_error(const char *msg, int line)sprintf (syserr_msg,"%s: %s" , msg,strerror (errno));error (syserr_msg, line); -} +}
Signature · 17 lines
1.7.0.4 -- Best Regards, Peng Haitao ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 3 lines · Peng Haitao
Hi Garrett,
exit()should be modified totst_exit()in functionmyexit().
Committed -- thanks!
-Garrett
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list