From 4aba47f7ce75e1c3fe23b55d5253f28ed35dfd6f Mon Sep 17 00:00:00 2001 From: Juli Mallett Date: Thu, 17 Oct 2002 20:26:26 +0000 Subject: [PATCH] FD locking is not enabled anymore, so the table which contains the owner of a file descriptor has NULL entries, so don't dereference the table entries to get the owners ever -- don't print the owners when processing a thread_dump request as a result of SIGINFO. Reviewed by: deischen --- lib/libc_r/uthread/uthread_info.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/libc_r/uthread/uthread_info.c b/lib/libc_r/uthread/uthread_info.c index 0193e049c06..c8bc4d5a790 100644 --- a/lib/libc_r/uthread/uthread_info.c +++ b/lib/libc_r/uthread/uthread_info.c @@ -252,10 +252,6 @@ dump_thread(int fd, pthread_t pthread, int long_version) pthread->data.fd.fname, pthread->data.fd.branch); __sys_write(fd, s, strlen(s)); - snprintf(s, sizeof(s), "owner %pr/%pw\n", - _thread_fd_table[pthread->data.fd.fd]->r_owner, - _thread_fd_table[pthread->data.fd.fd]->w_owner); - __sys_write(fd, s, strlen(s)); break; case PS_SIGWAIT: snprintf(s, sizeof(s), "sigmask (hi)");