Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2004 17:48:48 GMT
From:      Doug Rabson <dfr@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 57936 for review
Message-ID:  <200407221748.i6MHmmBt009508@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=57936

Change 57936 by dfr@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);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407221748.i6MHmmBt009508>