From owner-cvs-all@FreeBSD.ORG Mon Jun 14 18:19:14 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56B0F16A4CE; Mon, 14 Jun 2004 18:19:14 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50A7A43D1D; Mon, 14 Jun 2004 18:19:14 +0000 (GMT) (envelope-from jdp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5EIJ5hQ075370; Mon, 14 Jun 2004 18:19:05 GMT (envelope-from jdp@repoman.freebsd.org) Received: (from jdp@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5EIJ5xe075369; Mon, 14 Jun 2004 18:19:05 GMT (envelope-from jdp) Message-Id: <200406141819.i5EIJ5xe075369@repoman.freebsd.org> From: John Polstra Date: Mon, 14 Jun 2004 18:19:05 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src UPDATING src/share/man/man9 sema.9 src/sys/dev/ips ips_commands.c src/sys/kern kern_sema.c src/sys/sys param.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 18:19:14 -0000 jdp 2004-06-14 18:19:05 UTC FreeBSD src repository Modified files: . UPDATING share/man/man9 sema.9 sys/dev/ips ips_commands.c sys/kern kern_sema.c sys/sys param.h Log: Change the return value of sema_timedwait() so it returns 0 on success and a proper errno value on failure. This makes it consistent with cv_timedwait(), and paves the way for the introduction of functions such as sema_timedwait_sig() which can fail in multiple ways. Bump __FreeBSD_version and add a note to UPDATING. Approved by: scottl (ips driver), arch Revision Changes Path 1.312 +6 -0 src/UPDATING 1.7 +17 -4 src/share/man/man9/sema.9 1.11 +3 -3 src/sys/dev/ips/ips_commands.c 1.5 +5 -7 src/sys/kern/kern_sema.c 1.194 +1 -1 src/sys/sys/param.h