diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-12-20 23:39:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-12-20 23:39:42 +0000 |
commit | c0ecb80a43103964d30d8629ce45098fca307081 (patch) | |
tree | 859db25ae2d571c91dabf49a70c8c2e1da535ebe /nptl/pthread_getattr_np.c | |
parent | bbe35eb57144c081d10e76e35e52e9b400202b72 (diff) | |
download | glibc-c0ecb80a43103964d30d8629ce45098fca307081.tar glibc-c0ecb80a43103964d30d8629ce45098fca307081.tar.gz glibc-c0ecb80a43103964d30d8629ce45098fca307081.tar.bz2 glibc-c0ecb80a43103964d30d8629ce45098fca307081.zip |
Update.
2003-12-20 Ulrich Drepper <drepper@redhat.com>
* elf/rtld.c (dl_main): Optimize order or subexpressions in if().
Diffstat (limited to 'nptl/pthread_getattr_np.c')
-rw-r--r-- | nptl/pthread_getattr_np.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_getattr_np.c b/nptl/pthread_getattr_np.c index 9cc948f4c6..f66e97fa68 100644 --- a/nptl/pthread_getattr_np.c +++ b/nptl/pthread_getattr_np.c @@ -70,7 +70,7 @@ pthread_getattr_np (thread_id, attr) { /* No stack information available. This must be for the initial thread. Get the info in some magical way. */ - assert (thread->pid == thread->tid); + assert (abs (thread->pid) == thread->tid); /* Defined in ld.so. */ extern void *__libc_stack_end; |