]> git.pld-linux.org Git - packages/glibc.git/blob - glibc-linuxthreads-lock.patch
- release 18
[packages/glibc.git] / glibc-linuxthreads-lock.patch
1 --- glibc-2.1.2/linuxthreads/lockfile.c.gafton  Mon Aug 16 14:31:35 1999
2 +++ glibc-2.1.2/linuxthreads/lockfile.c Mon Aug 16 14:33:06 1999
3 @@ -80,7 +80,8 @@
4    __pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE_NP);
5  
6    for (fp = _IO_list_all; fp != NULL; fp = fp->_chain)
7 -    __pthread_mutex_init (fp->_lock, &attr);
8 +      if (fp->_lock)
9 +         __pthread_mutex_init (fp->_lock, &attr);
10  
11    __pthread_mutexattr_destroy (&attr);
12  #endif
This page took 0.021802 seconds and 3 git commands to generate.