]> git.pld-linux.org Git - packages/glibc.git/blobdiff - glibc-linuxthreads-lock.patch
- added Epoch: 6 for allow upgrade from MDK version.
[packages/glibc.git] / glibc-linuxthreads-lock.patch
index 6e12aa2209ce9ec959889f89ea8c5e51bdca011a..0d9ac48a756f8cdd835f03f89659fb852aecaa30 100644 (file)
@@ -1,12 +1,12 @@
---- glibc-2.1.2/linuxthreads/lockfile.c.gafton Mon Aug 16 14:31:35 1999
-+++ glibc-2.1.2/linuxthreads/lockfile.c        Mon Aug 16 14:33:06 1999
-@@ -80,7 +80,8 @@
+--- glibc-2.1.91/linuxthreads/lockfile.c~      Tue Jun 13 22:17:39 2000
++++ glibc-2.1.91/linuxthreads/lockfile.c       Sat Jul 15 00:48:43 2000
+@@ -96,7 +96,8 @@
    __pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_RECURSIVE_NP);
  
-   for (fp = _IO_list_all; fp != NULL; fp = fp->_chain)
--    __pthread_mutex_init (fp->_lock, &attr);
-+      if (fp->_lock)
-+        __pthread_mutex_init (fp->_lock, &attr);
+   for (i = _IO_iter_begin(); i != _IO_iter_end(); i = _IO_iter_next(i))
+-    __pthread_mutex_init (_IO_iter_file(i)->_lock, &attr);
++    if (_IO_iter_file(i)->_lock)
++      __pthread_mutex_init (_IO_iter_file(i)->_lock, &attr);
  
    __pthread_mutexattr_destroy (&attr);
- #endif
This page took 0.040714 seconds and 4 git commands to generate.