develooper Front page | perl.perl5.porters | Postings from May 2003

[PATCH win32/win32.h] Re: Smoke [5.9.0] 19367 FAIL(F) MSWin32 5.0 Service Pack 3 (x86/1 cpu)

Thread Previous | Thread Next
From:
Abe Timmerman
Date:
May 1, 2003 09:36
Subject:
[PATCH win32/win32.h] Re: Smoke [5.9.0] 19367 FAIL(F) MSWin32 5.0 Service Pack 3 (x86/1 cpu)
Message ID:
200305011834.35685.abe@ztreet.demon.nl
Op de dag van de arbeid (Thursday 01 May 2003 14:21), schreef Abe Timmerman:

> Op de dag van de arbeid (Thursday 01 May 2003 01:01), schreef Abe Timmerman:
> > Automated smoke report for 5.9.0 patch 19367 on MSWin32 - 5.0 Service
> > Pack 3 (x86/1 cpu) (winfikkie) using gcc version 3.2 (mingw special
> > 20020817-1) Report generated by Test::Smoke v1.17.01

> > MSWin32     [perlio      ]-DCCTYPE=GCC -DCCHOME=C:\MinGW -Dgcc_v3_2
> >               (cont) -Duseithreads -Duselargefiles
> >     io/openpid.............................dubious DIED. FAILED tests
> > 1-10 ../lib/ExtUtils/t/Embed................FAILED tests 1-9
> >     ../lib/Net/Ping/t/450_service..........FAILED tests 8-10
> >     ../lib/Net/Ping/t/510_ping_udp.........dubious DIED. FAILED test 2
>
> ../lib/Net/Ping/t/510_ping_udp....1..2
> # Running under perl version 5.009 for MSWin32
> # Current time local: Thu May  1 14:15:46 2003
> # Current time GMT:   Thu May  1 12:15:46 2003
> # Using Test.pm version 1.24
> ok 1
> Your vendor has not defined POSIX macro ECONNRESET, used at
> ../lib/Net/Ping.pm line 871
> dubious

Is this the way to fix that?
Why is no such thing needed for ECONNREFUSED?

--- win32/win32.h.orig  Thu Jan 16 21:35:26 2003
+++ win32/win32.h       Thu May  1 17:36:54 2003
@@ -529,6 +529,9 @@
 #if !defined(ECONNABORTED) && defined(WSAECONNABORTED)
 #define ECONNABORTED WSAECONNABORTED
 #endif
+#if !defined(ECONNRESET) && defined(WSAECONNRESET)
+#define ECONNRESET WSAECONNRESET
+#endif
 #if !defined(EAFNOSUPPORT) && defined(WSAEAFNOSUPPORT)
 #define EAFNOSUPPORT WSAEAFNOSUPPORT
 #endif

Good luck,

Abe
-- 
Rafael> Actually you're thinking aloud, here ?
Yes?
No?
Maybe?
                                   -- Jarkko Hietaniemi on p5p @ 2003-02-17


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About