Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos network security services platform







Nmap Development: ncat/sys_wrap.c

ncat/sys_wrap.c

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Tue, 06 Jan 2009 15:19:13 +0100

Why do we need to override vsscanf() like in
sys_wrap.c? The _asm statements in this file is
only good for MSVC. What about MIngW?

I fail to see why we can't simply do:

--- SVN-Latest\ncat\sys_wrap.c Wed Dec 24 13:31:15 2008
+++ ncat\sys_wrap.c Tue Jan 06 14:57:58 2009
@@ -5,7 +5,7 @@
 #include "sys_wrap.h"
 #include "util.h"

-#ifdef WIN32
+#if defined(WIN32) && !defined( __GNUC__)

 int vsscanf(
     const char *buffer,

--gv

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Jan 06 2009

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