From owner-freebsd-current Mon Jan 6 7:22:51 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 866B037B401 for ; Mon, 6 Jan 2003 07:22:50 -0800 (PST) Received: from crucible.athame.co.uk (guru164.netsonic.fi [194.29.193.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DB1443EB2 for ; Mon, 6 Jan 2003 07:22:44 -0800 (PST) (envelope-from andy@athame.co.uk) Received: from amavis by crucible.athame.co.uk with scanned-ok (Exim 3.33 #1) id 18VZ5K-0004I0-00 for current@FreeBSD.ORG; Mon, 06 Jan 2003 17:22:38 +0200 Received: from zappa.int.athame.co.uk ([192.168.1.3] helo=zappa.athame.co.uk) by crucible.athame.co.uk with esmtp (Exim 3.33 #1) id 18VZ5I-0004Hs-00 for current@FreeBSD.ORG; Mon, 06 Jan 2003 17:22:36 +0200 From: Andy Fawcett To: current@FreeBSD.ORG Subject: getpwnam_r missing Date: Mon, 6 Jan 2003 17:22:58 +0200 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200301061722.58880.andy@athame.co.uk> X-Virus-Scanned: by AMaViS perl-11 at crucible.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 Hi, While trying to build the latest Qt (3.1.1) from original sources, it fails because it cannot find getpwnam_r, which we appear to be missing in -CURRENT at the moment, marked: /* * XXX missing getpwnam_r() and getpwuid_r(). */ Qt tries to use this conditionally, using: #if defined(QT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) So, QT_THREAD_SUPPORT is defined (because I enabled -thread in their configure), and -CURRENT must be defining _POSIX_THREAD_SAFE_FUNCTIONS otherwise the code would not attempt to build that section otherwise. Are there plans to implement getpwnam_r (and getpwduid_d) before 5.0 release? If so, I'll hold back on bugging Trolltech about a fix, otherwise I'll ask them for a patch in future releases to take the missing function into account. Regards, Andy -- Andy Fawcett | andy@athame.co.uk | tap@kde.org "In an open world without walls and fences, | tap@lspace.org we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message