* [PATCH] iputils ping,ping6: use sig_atomic_t for flags set by signal handlers
@ 2010-09-05 12:52 Thomas Habets
2010-09-21 6:05 ` YOSHIFUJI Hideaki
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Habets @ 2010-09-05 12:52 UTC (permalink / raw)
To: netdev
Required by ISO C99 7.14.1.1 paragraph 5.
diff --git a/ping_common.c b/ping_common.c
index 82320b1..e0edf39 100644
--- a/ping_common.c
+++ b/ping_common.c
@@ -27,8 +27,8 @@ int preload;
int deadline = 0; /* time to die */
int lingertime = MAXWAIT*1000;
struct timeval start_time, cur_time;
-volatile int exiting;
-volatile int status_snapshot;
+volatile sig_atomic_t exiting;
+volatile sig_atomic_t status_snapshot;
int confirm = 0;
/* Stupid workarounds for bugs/missing functionality in older linuces.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iputils ping,ping6: use sig_atomic_t for flags set by signal handlers
2010-09-05 12:52 [PATCH] iputils ping,ping6: use sig_atomic_t for flags set by signal handlers Thomas Habets
@ 2010-09-21 6:05 ` YOSHIFUJI Hideaki
0 siblings, 0 replies; 2+ messages in thread
From: YOSHIFUJI Hideaki @ 2010-09-21 6:05 UTC (permalink / raw)
To: Thomas Habets; +Cc: netdev, YOSHIFUJI Hideaki
Hi,
(2010/09/05 21:52), Thomas Habets wrote:
>
> Required by ISO C99 7.14.1.1 paragraph 5.
Applied, thanks.
--yoshfuji
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-21 6:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-05 12:52 [PATCH] iputils ping,ping6: use sig_atomic_t for flags set by signal handlers Thomas Habets
2010-09-21 6:05 ` YOSHIFUJI Hideaki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).