From c5be0f71d9cac2f9bf0b01bb4b0221ddb6504969 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 19 Jan 2011 10:20:38 -0800 Subject: Fix comment typos. --- nptl/ChangeLog | 9 +++++++++ nptl/pthread_cond_timedwait.c | 4 ++-- nptl/pthread_cond_wait.c | 4 ++-- nptl/pthread_rwlock_rdlock.c | 4 ++-- nptl/pthread_rwlock_timedrdlock.c | 4 ++-- nptl/pthread_rwlock_timedwrlock.c | 4 ++-- nptl/pthread_rwlock_wrlock.c | 4 ++-- 7 files changed, 21 insertions(+), 12 deletions(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index fd961d6..802abcd 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,12 @@ +2011-01-19 Roland McGrath + + * pthread_cond_wait.c (__pthread_cond_wait): Fix comment typo. + * pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise. + * pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Likewise. + * pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock): Likewise. + * pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): Likewise. + * pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Likewise. + 2011-01-16 Andreas Schwab * Makefile (test-extras): Add tst-cleanup4aux. diff --git a/nptl/pthread_cond_timedwait.c b/nptl/pthread_cond_timedwait.c index 7278ec4..c173884 100644 --- a/nptl/pthread_cond_timedwait.c +++ b/nptl/pthread_cond_timedwait.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004, 2007, 2010 Free Software Foundation, Inc. +/* Copyright (C) 2003,2004,2007,2010,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Martin Schwidefsky , 2003. @@ -65,7 +65,7 @@ __pthread_cond_timedwait (cond, mutex, abstime) int pshared = (cond->__data.__mutex == (void *) ~0l) ? LLL_SHARED : LLL_PRIVATE; - /* Make sure we are along. */ + /* Make sure we are alone. */ lll_lock (cond->__data.__lock, pshared); /* Now we can release the mutex. */ diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c index 670fba5..467a03a 100644 --- a/nptl/pthread_cond_wait.c +++ b/nptl/pthread_cond_wait.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004, 2006, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2003,2004,2006,2007,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Martin Schwidefsky , 2003. @@ -101,7 +101,7 @@ __pthread_cond_wait (cond, mutex) int pshared = (cond->__data.__mutex == (void *) ~0l) ? LLL_SHARED : LLL_PRIVATE; - /* Make sure we are along. */ + /* Make sure we are alone. */ lll_lock (cond->__data.__lock, pshared); /* Now we can release the mutex. */ diff --git a/nptl/pthread_rwlock_rdlock.c b/nptl/pthread_rwlock_rdlock.c index 31eb508..2feac57 100644 --- a/nptl/pthread_rwlock_rdlock.c +++ b/nptl/pthread_rwlock_rdlock.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2003,2004,2007,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Martin Schwidefsky , 2003. @@ -31,7 +31,7 @@ __pthread_rwlock_rdlock (rwlock) { int result = 0; - /* Make sure we are along. */ + /* Make sure we are alone. */ lll_lock (rwlock->__data.__lock, rwlock->__data.__shared); while (1) diff --git a/nptl/pthread_rwlock_timedrdlock.c b/nptl/pthread_rwlock_timedrdlock.c index fcd10aa..75be8e7 100644 --- a/nptl/pthread_rwlock_timedrdlock.c +++ b/nptl/pthread_rwlock_timedrdlock.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2003,2004,2007,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Martin Schwidefsky , 2003. @@ -32,7 +32,7 @@ pthread_rwlock_timedrdlock (rwlock, abstime) { int result = 0; - /* Make sure we are along. */ + /* Make sure we are alone. */ lll_lock(rwlock->__data.__lock, rwlock->__data.__shared); while (1) diff --git a/nptl/pthread_rwlock_timedwrlock.c b/nptl/pthread_rwlock_timedwrlock.c index e6283f4..6b3c752 100644 --- a/nptl/pthread_rwlock_timedwrlock.c +++ b/nptl/pthread_rwlock_timedwrlock.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2003,2004,2007,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Martin Schwidefsky , 2003. @@ -32,7 +32,7 @@ pthread_rwlock_timedwrlock (rwlock, abstime) { int result = 0; - /* Make sure we are along. */ + /* Make sure we are alone. */ lll_lock (rwlock->__data.__lock, rwlock->__data.__shared); while (1) diff --git a/nptl/pthread_rwlock_wrlock.c b/nptl/pthread_rwlock_wrlock.c index 64fe970..9d5f135 100644 --- a/nptl/pthread_rwlock_wrlock.c +++ b/nptl/pthread_rwlock_wrlock.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2003,2007,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Martin Schwidefsky , 2003. @@ -31,7 +31,7 @@ __pthread_rwlock_wrlock (rwlock) { int result = 0; - /* Make sure we are along. */ + /* Make sure we are alone. */ lll_lock (rwlock->__data.__lock, rwlock->__data.__shared); while (1) -- cgit v1.1