From owner-freebsd-bugs Thu Sep 20 17:50:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AB10237B41B for ; Thu, 20 Sep 2001 17:50:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8L0o3m83605; Thu, 20 Sep 2001 17:50:03 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CF52737B40C for ; Thu, 20 Sep 2001 17:44:51 -0700 (PDT) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8L0ip981720; Thu, 20 Sep 2001 17:44:51 -0700 (PDT) (envelope-from nobody) Message-Id: <200109210044.f8L0ip981720@freefall.freebsd.org> Date: Thu, 20 Sep 2001 17:44:51 -0700 (PDT) From: Yuri Victorovich To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/30699: pthread_attr_setscope function fails unconditionally Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 30699 >Category: misc >Synopsis: pthread_attr_setscope function fails unconditionally >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 20 17:50:03 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Yuri Victorovich >Release: 4.3 >Organization: Philips >Environment: FreeBSD sunflower 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sun Jul 22 16:11:17 CEST 2001 root@sunflower:/root/src/sys/compile/GENERIC i386 b >Description: source file src/lib/lib_r/uthread/uthread_attr_setscope.c: pthread_attr_setscope fails unconditionally for any value of contentionscope. >How-To-Repeat: -- >Fix: In << } else if ((contentionscope != PTHREAD_SCOPE_PROCESS) || (contentionscope != PTHREAD_SCOPE_SYSTEM) >Release-Note: >Audit-Trail: >Unformatted: >> should be && instead. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message