Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [nmap-svn] r32398 - in nmap: ncat nsock/src
From: Gisle Vanem <gvanem () broadpark no>
Date: Thu, 26 Sep 2013 16:45:52 +0200

"Daniel Miller" <bonsaiviking () gmail com> wrote:

On 09/26/2013 02:17 AM, commit-mailer () nmap org wrote:
-                if ((tmp_name = tempnam(NULL, "ncat.")) == NULL)
+                if ((tmp_name = tempfile(NULL, "ncat.")) == NULL)
                      bye("Failed to create name for temporary DGRAM source Unix domain socket (tempnam).");

Should the error message here also be changed, since we're not using tempnam any more? If so, should it be "tempfile" or "mkstemp"?

MSVC doesn't have "tempfile" or "mkstemp". Why not stick to

Sent through the dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]