NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/47757: mktemp(3) mangles the pathname if not given an absolute path
The following reply was made to PR bin/47757; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/47757: mktemp(3) mangles the pathname if not given an absolute
path
Date: Sun, 21 Apr 2013 21:44:31 +0200
Did the relative ./tmp path exist?
The function incorrectly does not return NULL on this type of failure.
Note that you should use mkstemp(3) anyway.
Martin
Home |
Main Index |
Thread Index |
Old Index