]>
Commit | Line | Data |
---|---|---|
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 |