Samuel Tardieu | 2 Jan 2004 17:38
Picon

Spurious exit() call

The following patch removes a useless exit() call (longjmp() cannot
fail).

--- orig/nntputil.c
+++ mod/nntputil.c
 <at>  <at>  -79,7 +79,6  <at>  <at> 
 static void timer(int sig)
 {
     longjmp(timeout, 1);
-    exit(sig);
 }

 static void sigint(int sig)

  Sam
--

-- 
Samuel Tardieu -- sam <at> rfc1149.net -- http://www.rfc1149.net/sam

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/leafnode/

To unsubscribe from this group, send an email to:
 leafnode-unsubscribe <at> yahoogroups.com

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/ 

(Continue reading)


Gmane