]> git.pld-linux.org Git - packages/glibc.git/blame - glibc-linuxthreads-lock.patch
- release 10
[packages/glibc.git] / glibc-linuxthreads-lock.patch
CommitLineData
39158de0 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.0374 seconds and 4 git commands to generate.