$NetBSD: patch-ap,v 1.1 2001/03/23 15:57:46 agc Exp $ Patch from Wofgang Solfrank: The changes to unproven-pthreads fix a problem with fstat not using the pthreads filedescriptors, but the native ones (the code for this was already there (slightly buggy), but it wasn't used for some unknown reason). In addition, the handling of select is improved, as the original code may wake up not all threads waiting for some event. --- pthreads/Makefile.inc.orig Mon Jul 10 19:23:27 2000 +++ pthreads/Makefile.inc Fri Mar 23 15:43:59 2001 @@ -9,6 +9,7 @@ process.c wait.c errno.c schedparam.c _exit.c prio_queue.c \ pthread_init.c init.cc sig.c info.c mutexattr.c select.c wrapper.c \ dump_state.c pthread_kill.c condattr.c +SRCS+= stat.c .if $(HAVE_SYSCALL_TEMPLATE) == yes OBJS+= syscalls.o