Subject: stdlib.h and mktemp/mkstemp/mkdtemp
To: None <port-i386@netbsd.org>
From: T@W <lsp93@xs4all.nl>
List: port-i386
Date: 01/14/2001 17:41:57
Hi ya,
While building the lib from 1.4.3 sources I got real annoyed by messages
complaining about the use of mktemp in some files so I started digging and
found in stdlib.h (/$NetBSD: stdlib.h,v 1.42 1999/02/06 15:04:05 kleink Exp
$*/) the lines 179-183 containing:
>char *mkdtemp __P((char *));
>int mkstemp __P((char *));
>#ifndef __AUDIT__
>char *mktemp __P((char *));
>#endif
Is the __AUDIT__ line a definition or does it only defines a warning when
using mktemp in a file?
If so how can I find all mktemp declarations and batch substitute them with
mkstemp or mkdtemp. Is there one command I'll need to put in somewhere
(like in /etc/mk.conf??)??
TIA,
T@W