Nmap Development mailing list archives
ncat/sys_wrap.c
From: Gisle Vanem <gvanem () 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
Current thread:
- ncat/sys_wrap.c Gisle Vanem (Jan 06)
- Re: ncat/sys_wrap.c Kris Katterjohn (Jan 06)
- Re: ncat/sys_wrap.c Fyodor (Jan 06)
- Re: ncat/sys_wrap.c Kris Katterjohn (Jan 06)
- Re: ncat/sys_wrap.c Fyodor (Jan 06)
- Re: ncat/sys_wrap.c Kris Katterjohn (Jan 06)
