
Nmap Development mailing list archives
Re: [Patch] nsock/tests/tests_main.c
From: Gisle Vanem <gvanem () broadpark no>
Date: Sun, 11 Aug 2013 00:32:44 +0200
"Henri Doreau" <henri.doreau () gmail com> wrote:
No it wasn't that. Simply that WSAStartup() wasn't called. That could go into a local win_init() that sets up the WinConsole.Could you send it as a patch?
Attached. Also, ncat/test/addrset.c suffers the same problem. Also attached.
I know, and it's a pity because these designated initializers are so nice... But can the nsock test suite be compiled using MSVC? There'sno project file nor anything.
I've made a project + makefile for it. But this .sln-file will have to wait.
+/* socket_strerror() comes from nbase + * Declared here to work around a silly inclusion issue until I can fix it. */ +char *socket_strerror(int errnum);
What's problem including <nbase.h> in "test-common.h"? --gv
Attachment:
tests_main.diff
Description:
Attachment:
addrset.diff
Description:
_______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- [Patch] nsock/tests/tests_main.c Gisle Vanem (Aug 06)
- Re: [Patch] nsock/tests/tests_main.c Henri Doreau (Aug 06)
- Re: [Patch] nsock/tests/tests_main.c Gisle Vanem (Aug 07)
- Re: [Patch] nsock/tests/tests_main.c Gisle Vanem (Aug 07)
- Re: [Patch] nsock/tests/tests_main.c Henri Doreau (Aug 10)
- Re: [Patch] nsock/tests/tests_main.c Gisle Vanem (Aug 10)
- Re: [Patch] nsock/tests/tests_main.c Henri Doreau (Aug 11)
- Re: [Patch] nsock/tests/tests_main.c Gisle Vanem (Aug 12)
- Re: [Patch] nsock/tests/tests_main.c Henri Doreau (Aug 13)
- Re: [Patch] nsock/tests/tests_main.c Gisle Vanem (Aug 07)
- Re: [Patch] nsock/tests/tests_main.c Henri Doreau (Aug 06)
- Re: [Patch] nsock/tests/tests_main.c Gisle Vanem (Aug 07)
- Re: [Patch] nsock/tests/tests_main.c Henri Doreau (Aug 10)