diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2005-04-12 17:16:21 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2005-04-12 17:16:21 +0000 |
commit | 9564e799ea16e575db83649839e59182c40c7d03 (patch) | |
tree | 6f746d36fa3115b09d124c46ddb28bb9ab558ee7 /devel/uclmmbase/files/patch-test | |
parent | . Update to 1.02.017. (diff) |
Minor/cosmetic changes:
. on BSD use warn(3) instead of static "socket_error",
which is doing the same thing, but poorly;
. use herror(3) instead of "socket_error", when reporting
DNS-related problems;
. patch the test-harness to not fail if our own hostname
is not resolvable -- this is a sign of misconfiguration,
not of the library miscompilation.
Notes
Notes:
svn path=/head/; revision=133162
Diffstat (limited to 'devel/uclmmbase/files/patch-test')
-rw-r--r-- | devel/uclmmbase/files/patch-test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/uclmmbase/files/patch-test b/devel/uclmmbase/files/patch-test index b1b3e93392a2..0602a47a3f99 100644 --- a/devel/uclmmbase/files/patch-test +++ b/devel/uclmmbase/files/patch-test @@ -7,3 +7,14 @@ +LIBS = -L../src @LIBS@ -L${OPENSSLLIB}/lib -lssl -lcrypto CC = @CC@ +--- tests/test_net_udp.c Sat Oct 28 06:36:08 2000 ++++ tests/test_net_udp.c Tue Apr 12 12:45:44 2005 +@@ -116,4 +116,8 @@ + udp_exit(s1); + ++ if (hname == NULL) { ++ printf("fail: cannot resolve our name\n"); ++ return; ++ } + /**********************************************************************/ + /* Now we send a packet to ourselves via our real network address... */ |