Received: by mail.netbsd.org (Postfix, from userid 605) id 846BF84DA2; Wed, 29 Jan 2020 13:40:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DF93F84D9E for ; Wed, 29 Jan 2020 13:40:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id KrDM8dL5oM2s for ; Wed, 29 Jan 2020 13:40:23 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 8556584D48 for ; Wed, 29 Jan 2020 13:40:23 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 833BDFBF4; Wed, 29 Jan 2020 13:40:23 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 29 Jan 2020 13:40:23 +0000 From: "Kamil Rytarowski" Subject: CVS commit: src/tests/lib/libpthread To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20200129134023.833BDFBF4@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Kamil Rytarowski" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: kamil Date: Wed Jan 29 13:40:23 UTC 2020 Modified Files: src/tests/lib/libpthread: t_join.c Log Message: Fix the t_join test For pthread_attr_get_np() attr should be initialized prior to the call by using pthread_attr_init(3). pthread_getattr_np() does this automatically so switch to it. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tests/lib/libpthread/t_join.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.