Loading...
threads/cprocs.c Libc-763.13 Libc-583
--- Libc/Libc-763.13/threads/cprocs.c
+++ Libc/Libc-583/threads/cprocs.c
@@ -145,14 +145,9 @@
 {
 	int *ep = __error();
 	extern int __unix_conforming;
-	pthread_t self = NULL;
 
-	if ((__unix_conforming) && ((error & 0xff) == EINTR) && (__pthread_canceled(0) == 0)) {
-		self = pthread_self();
-		if (self != NULL)
-			self->cancel_error = error;
+	if ((__unix_conforming) && (error == EINTR) && (__pthread_canceled(0) == 0))
 		pthread_exit(PTHREAD_CANCELED);
-	}
 
         if (ep != &errno)
             *ep = error;