Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 13:55:24 -0500 (EST)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        Andy Fawcett <andy@athame.co.uk>
Cc:        current@FreeBSD.ORG
Subject:   getpwnam_r missing
Message-ID:  <200301061855.h06ItO6N088838@khavrinen.lcs.mit.edu>
In-Reply-To: <200301061722.58880.andy@athame.co.uk>
References:  <200301061722.58880.andy@athame.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 6 Jan 2003 17:22:58 +0200, Andy Fawcett <andy@athame.co.uk> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301061855.h06ItO6N088838>