From owner-freebsd-current Mon Jan 6 10:55:32 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F392137B47C for ; Mon, 6 Jan 2003 10:55:28 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F8E643EC5 for ; Mon, 6 Jan 2003 10:55:28 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.6/8.12.6) with ESMTP id h06ItOCJ088841 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 6 Jan 2003 13:55:24 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.6/8.12.6/Submit) id h06ItO6N088838; Mon, 6 Jan 2003 13:55:24 -0500 (EST) (envelope-from wollman) Date: Mon, 6 Jan 2003 13:55:24 -0500 (EST) From: Garrett Wollman Message-Id: <200301061855.h06ItO6N088838@khavrinen.lcs.mit.edu> To: Andy Fawcett Cc: current@FreeBSD.ORG Subject: getpwnam_r missing In-Reply-To: <200301061722.58880.andy@athame.co.uk> References: <200301061722.58880.andy@athame.co.uk> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > #if defined(QT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) This conditional is erroneous, so you should definitely bug Troll Tech. It should instead read: #if defined(QT_THREAD_SUPPORT) && _POSIX_THREAD_SAFE_FUNCTIONS - 0 > 0 (We really should figure out how to implement the _r functions, because a POSIX.1-2001 system with threads is supposed to have them.) -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message