PERFORCE change 57936 for review

Doug Rabson dfr at FreeBSD.org
Thu Jul 22 10:48:49 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=57936

Change 57936 by dfr at dfr_home on 2004/07/22 17:48:03

	Fix integrate botch.

Affected files ...

.. //depot/projects/kse/lib/libc/gen/swapcontext.c#8 integrate

Differences ...

==== //depot/projects/kse/lib/libc/gen/swapcontext.c#8 (text+ko) ====

@@ -31,10 +31,6 @@
 #include <sys/signal.h>
 #include <sys/ucontext.h>
 
-#include <sys/param.h>
-#include <sys/signal.h>
-#include <sys/ucontext.h>
-
 #include <errno.h>
 #include <stddef.h>
 
@@ -45,10 +41,7 @@
 {
 	int ret;
 
-	if ((oucp == NULL) ||
-	    (oucp->uc_mcontext.mc_len != sizeof(mcontext_t)) ||
-	    (ucp == NULL) ||
-	    (ucp->uc_mcontext.mc_len != sizeof(mcontext_t))) {
+	if ((oucp == NULL) || (ucp == NULL)) {
 		errno = EINVAL;
 		return (-1);
 	}


More information about the p4-projects mailing list