All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP]  [PATCH] float_bessel: fix error of infinite loop
@ 2011-01-18  7:51 Peng Haitao
  2011-01-18  8:16 ` Garrett Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Peng Haitao @ 2011-01-18  7:51 UTC (permalink / raw)
  To: yanegomi, ltp-list

Hi Garrett,

exit() should be modified to tst_exit() in function myexit().

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
---
 testcases/misc/math/float/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/misc/math/float/main.c b/testcases/misc/math/float/main.c
index 18757e7..8998c33 100644
--- a/testcases/misc/math/float/main.c
+++ b/testcases/misc/math/float/main.c
@@ -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);
-}
\ No newline at end of file
+}
-- 
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [LTP] [PATCH] float_bessel: fix error of infinite loop
  2011-01-18  7:51 [LTP] [PATCH] float_bessel: fix error of infinite loop Peng Haitao
@ 2011-01-18  8:16 ` Garrett Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Garrett Cooper @ 2011-01-18  8:16 UTC (permalink / raw)
  To: Peng Haitao; +Cc: ltp-list

On Mon, Jan 17, 2011 at 11:51 PM, Peng Haitao <penght@cn.fujitsu.com> wrote:
> Hi Garrett,
>
> exit() should be modified to tst_exit() in function myexit().

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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-18  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-18  7:51 [LTP] [PATCH] float_bessel: fix error of infinite loop Peng Haitao
2011-01-18  8:16 ` Garrett Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.