PERFORCE change 38802 for review

Hrishikesh Dandekar hdandeka at FreeBSD.org
Mon Sep 29 21:54:46 GMT 2003


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

Change 38802 by hdandeka at hdandeka_yash on 2003/09/29 14:54:37

	Bug fix for SEM_CHECK_VALIDITY.

Affected files ...

.. //depot/projects/trustedbsd/mac/lib/libc/sys/sem.c#7 edit

Differences ...

==== //depot/projects/trustedbsd/mac/lib/libc/sys/sem.c#7 (text+ko) ====

@@ -290,7 +290,7 @@
 	(*sem)->count--;
 
 	_pthread_mutex_unlock(&(*sem)->lock);
-
+RETURN:
 	return retval;
 }
 
@@ -320,7 +320,7 @@
 	}
 	
 	_pthread_mutex_unlock(&(*sem)->lock);
-
+RETURN:
 	return retval;
 }
 
@@ -347,7 +347,7 @@
 		_pthread_cond_signal(&(*sem)->gtzero);
 
 	_pthread_mutex_unlock(&(*sem)->lock);
-
+RETURN:
 	return retval;
 }
 
@@ -370,6 +370,6 @@
 	_pthread_mutex_lock(&(*sem)->lock);
 	*sval = (int)(*sem)->count;
 	_pthread_mutex_unlock(&(*sem)->lock);
-
+RETURN:
 	return retval;
 }
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list