25 November 2008: Wouter
- configure complains when --without-ssl is given (bug #220).
+ - skip unsupported feature tests on vista/mingw.
+ - fixup testcode/streamtcp to work on vista/mingw.
24 November 2008: Wouter
- document that the user of the server daemon needs read privileges
NEED_CURL='06-ianaports.tpkg'
NEED_WHOAMI='07-confroot.tpkg'
NEED_IPV6='fwd_ancil.tpkg fwd_tcp_tc6.tpkg'
+NEED_NOMINGW='tcp_sigpipe.tpkg 07-confroot.tpkg 08-host-lib.tpkg fwd_ancil.tpkg'
# test for ipv6, uses streamptcp peculiarity.
if ./streamtcp -f ::1 2>&1 | grep "not supported" >/dev/null 2>&1; then
HAVE_IPV6=yes
fi
+# test mingw. no signals and so on.
+if uname | grep MINGW >/dev/null; then
+ HAVE_MINGW=yes
+else
+ HAVE_MINGW=no
+fi
+
cd testdata;
sh ../testcode/mini_tpkg.sh clean
rm -f .perfstats.txt
SKIP=1;
fi
fi
- if echo $NEED_JOBCONTROL | grep $test >/dev/null; then
- if test "$JOBCONTROL" = no; then
+ if echo $NEED_NOMINGW | grep $test >/dev/null; then
+ if test "$HAVE_MINGW" = yes; then
SKIP=1;
fi
fi
socklen_t addrlen;
int fd = -1;
/* svr can be ip@port */
+ memset(&addr, 0, sizeof(addr));
if(!extstrtoaddr(svr, &addr, &addrlen)) {
printf("fatal: bad server specs '%s'\n", svr);
exit(1);