Nmap Development mailing list archives

Re: [nmap-svn] r32398 - in nmap: ncat nsock/src


From: Daniel Miller <bonsaiviking () gmail com>
Date: Thu, 26 Sep 2013 09:15:19 -0500

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"?

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


Current thread: