Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2000 12:22:35 -0500
From:      "Jacques A . Vidrine" <n@nectar.com>
To:        Scott Blachowicz <scott@sabami.seaslug.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: KDE2: make install 'fails' ...
Message-ID:  <20000519122234.V96307@bone.nectar.com>
In-Reply-To: <87hfbufp9r.fsf@sabmail.rresearch.com>; from scott@sabami.seaslug.org on Fri, May 19, 2000 at 10:01:04AM -0700
References:  <Pine.BSF.4.21.0005190118370.243-100000@thelab.hub.org> <87ln16fqw6.fsf@sabmail.rresearch.com> <20000519113823.U96307@bone.nectar.com> <87hfbufp9r.fsf@sabmail.rresearch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 19, 2000 at 10:01:04AM -0700, Scott Blachowicz wrote:
> It seems that the mktemps() function doesn't exist on this system.

No, it was introduced circa FreeBSD 3.4.

> Suppose I can probably go find that mkstemps() function in the latest
> FreeBSD sources...or just use the other branch of that #ifdef...

Or update to FreeBSD 3-STABLE.

> Is there any easy way to locate a function like this in the FreeBSD
> sources (I don't have them on my system) and identify with __FreeBSD__
> value would likely correspond with the introduction of this function?

__FreeBSD__ doesn't have a (meaningful) value.  ITYM
__FreeBSD_version.  That is defined in src/sys/sys/param.h, so you
could try:

   http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/param.h

A look there shows that mkstemps is available when 
__FreeBSD_version >= 330002.  (Thanks David!)

-- 
Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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