OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ac20d3
)
use the internal pthread_mutex_init()
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 6 Dec 2005 01:08:18 +0000
(
01:08
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 6 Dec 2005 01:08:18 +0000
(
01:08
-0000)
libpthread/linuxthreads.old/lockfile.c
patch
|
blob
|
history
diff --git
a/libpthread/linuxthreads.old/lockfile.c
b/libpthread/linuxthreads.old/lockfile.c
index
b0f41c9
..
7bd2155
100644
(file)
--- a/
libpthread/linuxthreads.old/lockfile.c
+++ b/
libpthread/linuxthreads.old/lockfile.c
@@
-33,7
+33,7
@@
__fresetlockfiles (void)
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
for (fp = _stdio_openlist; fp != NULL; fp = fp->__nextopen)
- pthread_mutex_init(&fp->__lock, &attr);
+
__
pthread_mutex_init(&fp->__lock, &attr);
pthread_mutexattr_destroy(&attr);
}