From 9ceec314dfc92c5d69442966dd386aaefee90bea Mon Sep 17 00:00:00 2001 From: wcohen Date: Fri, 29 Feb 2008 14:36:28 +0000 Subject: 2008-02-29 Will Cohen * main.cxx (handle_interrupts): Make compatible with GCC 4.3. --- ChangeLog | 4 ++++ main.cxx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ecfe4269..07cee9dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-02-29 Will Cohen + + * main.cxx (handle_interrupts): Make compatible with GCC 4.3. + 2008-02-28 Frank Ch. Eigler PR5045 diff --git a/main.cxx b/main.cxx index 449c1a2a..4364f664 100644 --- a/main.cxx +++ b/main.cxx @@ -197,7 +197,7 @@ void handle_interrupt (int /* sig */) { char msg[] = "Too many interrupts received, exiting.\n"; int rc = write (2, msg, sizeof(msg)-1); - if (rc) /* Do nothing; we don't care if our last gasp went out. */ ; + if (rc) {/* Do nothing; we don't care if our last gasp went out. */ ;} _exit (1); } } -- cgit