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).");
David,

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
"tempnam()"?

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


  By Date           By Thread  

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