svn rev #23550: trunk/src/lib/krb5/ccache/
raeburn@MIT.EDU
raeburn at MIT.EDU
Wed Dec 30 22:37:34 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=23550
Commit By: raeburn
Log Message:
Convert C++ style comments into traditional C comments.
Changed Files:
U trunk/src/lib/krb5/ccache/ccbase.c
Modified: trunk/src/lib/krb5/ccache/ccbase.c
===================================================================
--- trunk/src/lib/krb5/ccache/ccbase.c 2009-12-31 03:37:30 UTC (rev 23549)
+++ trunk/src/lib/krb5/ccache/ccbase.c 2009-12-31 03:37:34 UTC (rev 23550)
@@ -454,14 +454,14 @@
{
krb5_error_code ret = 0;
- // not locked or already locked by another context
+ /* not locked or already locked by another context */
if (m->owner != context) {
- // acquire lock, blocking until available
+ /* acquire lock, blocking until available */
ret = k5_mutex_lock(&m->lock);
m->owner = context;
m->refcount = 1;
}
- // already locked by this context, just increase refcount
+ /* already locked by this context, just increase refcount */
else {
m->refcount++;
}
@@ -562,7 +562,7 @@
return ret;
}
- // unlock each type in the opposite order
+ /* unlock each type in the opposite order */
#ifdef USE_KEYRING_CCACHE
k5_cc_mutex_assert_locked(context, &krb5int_krcc_mutex);
k5_cc_mutex_unlock(context, &krb5int_krcc_mutex);
@@ -601,7 +601,7 @@
return ret;
}
- // unlock each type in the opposite order
+ /* unlock each type in the opposite order */
#ifdef USE_KEYRING_CCACHE
k5_cc_mutex_force_unlock(&krb5int_krcc_mutex);
#endif
More information about the cvs-krb5
mailing list