From owner-cvs-src@FreeBSD.ORG Sun Jun 29 23:16:51 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A006437B401; Sun, 29 Jun 2003 23:16:51 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39FF943F3F; Sun, 29 Jun 2003 23:16:51 -0700 (PDT) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5U6Gp0U056055; Sun, 29 Jun 2003 23:16:51 -0700 (PDT) (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5U6Go0B056054; Sun, 29 Jun 2003 23:16:50 -0700 (PDT) Message-Id: <200306300616.h5U6Go0B056054@repoman.freebsd.org> From: David Xu Date: Sun, 29 Jun 2003 23:16:50 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libpthread/thread thr_kern.c thr_sig.c thr_sigwait.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 06:16:52 -0000 davidxu 2003/06/29 23:16:50 PDT FreeBSD src repository Modified files: lib/libpthread/thread thr_kern.c thr_sig.c thr_sigwait.c Log: Because there are only _SIG_MAXSIG elements in thread siginfo array, use [signal number - 1] as subscript to access the array. Revision Changes Path 1.74 +1 -1 src/lib/libpthread/thread/thr_kern.c 1.57 +14 -14 src/lib/libpthread/thread/thr_sig.c 1.27 +1 -1 src/lib/libpthread/thread/thr_sigwait.c