projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
991f85c
)
(setup_thread): Do nothing if __NR_set_tid_address is not defined.
author
drepper
<drepper>
Fri, 17 Sep 2004 23:46:58 +0000
(23:46 +0000)
committer
drepper
<drepper>
Fri, 17 Sep 2004 23:46:58 +0000
(23:46 +0000)
sysdeps/unix/sysv/linux/nscd_setup_thread.c
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/nscd_setup_thread.c
b/sysdeps/unix/sysv/linux/nscd_setup_thread.c
index
3496f02
..
7d1bfd8
100644
(file)
--- a/
sysdeps/unix/sysv/linux/nscd_setup_thread.c
+++ b/
sysdeps/unix/sysv/linux/nscd_setup_thread.c
@@
-27,6
+27,7
@@
void
setup_thread (struct database_dyn *db)
{
+#ifdef __NR_set_tid_address
/* Only supported when NPTL is used. */
char buf[100];
if (confstr (_CS_GNU_LIBPTHREAD_VERSION, buf, sizeof (buf)) >= sizeof (buf)
@@
-44,4
+45,5
@@
setup_thread (struct database_dyn *db)
So, set the field to a nonzero value which indicates that nscd
is certainly running and clients can skip the test. */
db->head->nscd_certainly_running = 1;
+#endif
}