curl-library
Re: NI_WITHSCOPEID (was Re: Debugging test cases) (fwd)
From: Joe Halpin <j.p.h_at_comcast.net>
Date: Wed, 31 Mar 2004 13:07:57 -0600
Date: Wed, 31 Mar 2004 13:07:57 -0600
I think the reason tests are still failing on Solaris 9 is fixed in this
patch
Index: lib/ftp.c
===================================================================
RCS file: /repository/curl/lib/ftp.c,v
retrieving revision 1.243
diff -u -r1.243 ftp.c
--- lib/ftp.c 31 Mar 2004 10:59:48 -0000 1.243
+++ lib/ftp.c 31 Mar 2004 18:59:04 -0000
@@ -105,7 +105,7 @@
#include "memdebug.h"
#endif
-#ifdef NI_WITHSCOPEID
+#ifdef HAVE_NI_WITHSCOPEID
#define NIFLAGS NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID
#else
#define NIFLAGS NI_NUMERICHOST | NI_NUMERICSERV
I'm not sure this will work for everything, but with this change all
tests pass on Solaris 9 now.
Joe
Received on 2004-03-31