Re: why tempnam is used in libmysql bundleld with php
| From: | derick@php.net | Date: | Sat, 16 Mar 2002 14:45:40 +0000 |
| Subject: | Re: why tempnam is used in libmysql bundleld with php | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81344@lists.php.net to get a copy of this message | ||
On Sat, 16 Mar 2002, Andrey Hristov wrote:
> I cannot compile the CVS because gcc complains about using function tempnam()
> In the man tempnam i found that:
> BUGS
> The precise meaning of `appropriate' is undefined; it is unspecified how
> accessibility of a directory is determined. Never
> use this function. Use mkstemp(3) instead.
It only gives a warning while linking, it should compile fine.
Derick