[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pptpclient-commits
Subject:    [pptpclient-commits] CVS: pptp-linux util.c,1.10,1.11 ChangeLog,1.100,1.101 NEWS,1.45,1.46
From:       James Cameron <quozl () users ! sourceforge ! net>
Date:       2005-08-22 0:49:52
Message-ID: E1E70Vc-0003FK-Uv () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/pptpclient/pptp-linux
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12429

Modified Files:
	util.c ChangeLog NEWS 
Log Message:
remove superfluous sigset

Index: util.c
===================================================================
RCS file: /cvsroot/pptpclient/pptp-linux/util.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- util.c	10 Mar 2005 01:18:20 -0000	1.10
+++ util.c	22 Aug 2005 00:49:48 -0000	1.11
@@ -125,12 +125,8 @@
 /* assign a signal number to the pipe */
 void sigpipe_assign(int signum)
 {
-  sigset_t sigset;
   struct sigaction sa;
 
-  sigemptyset(&sigset);
-  sigaddset(&sigset, signum);
-  
   memset(&sa, 0, sizeof(sa));
   sa.sa_handler = sigpipe_handler;
   sigaction(signum, &sa, NULL);

Index: ChangeLog
===================================================================
RCS file: /cvsroot/pptpclient/pptp-linux/ChangeLog,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- ChangeLog	20 Aug 2005 13:16:38 -0000	1.100
+++ ChangeLog	22 Aug 2005 00:49:48 -0000	1.101
@@ -1,3 +1,8 @@
+Mon Aug 22 10:46:38 2005  James Cameron  <quozl@us.netrek.org>
+
+	* util.c (sigpipe_assign): remove superfluous sigset variable
+	and calls; they served no purpose.  Reported by: Pavol Gono.
+
 Sat Aug 20 23:14:25 2005  James Cameron  <quozl@us.netrek.org>
 
 	* options.pptp: default to not require MPPE, per Red Hat Bugzilla

Index: NEWS
===================================================================
RCS file: /cvsroot/pptpclient/pptp-linux/NEWS,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- NEWS	20 Aug 2005 13:16:38 -0000	1.45
+++ NEWS	22 Aug 2005 00:49:48 -0000	1.46
@@ -1,3 +1,4 @@
+- remove superfluous sigset [Cameron/Gono]
 - default options file to not require MPPE (#166394) [Howarth]
 - add PROTOCOL-SECURITY discussion [Cameron/Mueller]
 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
pptpclient-commits mailing list
pptpclient-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pptpclient-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic