Fix comment typos.

This commit is contained in:
Roland McGrath 2011-01-19 10:20:38 -08:00
parent 5d5732b0dc
commit c5be0f71d9
7 changed files with 21 additions and 12 deletions

View File

@ -1,3 +1,12 @@
2011-01-19 Roland McGrath <roland@redhat.com>
* 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 <schwab@linux-m68k.org>
* Makefile (test-extras): Add tst-cleanup4aux.

View File

@ -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 <schwidefsky@de.ibm.com>, 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. */

View File

@ -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 <schwidefsky@de.ibm.com>, 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. */

View File

@ -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 <schwidefsky@de.ibm.com>, 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)

View File

@ -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 <schwidefsky@de.ibm.com>, 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)

View File

@ -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 <schwidefsky@de.ibm.com>, 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)

View File

@ -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 <schwidefsky@de.ibm.com>, 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)