Change 31469 by [EMAIL PROTECTED] on 2007/06/26 07:38:05

        Subject: [PATCH] Remove dead code from win32/win32sck.c
        From: "Jan Dubois" <[EMAIL PROTECTED]>
        Date: Mon, 25 Jun 2007 17:13:04 -0700
        Message-ID: <[EMAIL PROTECTED]>
        
        Subject: RE: [PATCH] Remove dead code from win32/win32sck.c
        From: "Jan Dubois" <[EMAIL PROTECTED]>
        Date: Mon, 25 Jun 2007 17:26:15 -0700
        Message-ID: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/win32/win32sck.c#48 edit
... //depot/perl/win32/wincesck.c#3 edit

Differences ...

==== //depot/perl/win32/win32sck.c#48 (text) ====
Index: perl/win32/win32sck.c
--- perl/win32/win32sck.c#47~31426~     2007-06-20 06:30:14.000000000 -0700
+++ perl/win32/win32sck.c       2007-06-26 00:38:05.000000000 -0700
@@ -37,22 +37,11 @@
 #      define TO_SOCKET(x)     (x)
 #endif /* USE_SOCKETS_AS_HANDLES */
 
-#if defined(USE_ITHREADS)
 #define StartSockets() \
     STMT_START {                                       \
        if (!wsock_started)                             \
            start_sockets();                            \
-       set_socktype();                                 \
     } STMT_END
-#else
-#define StartSockets() \
-    STMT_START {                                       \
-       if (!wsock_started) {                           \
-           start_sockets();                            \
-           set_socktype();                             \
-       }                                               \
-    } STMT_END
-#endif
 
 #define SOCKET_TEST(x, y) \
     STMT_START {                                       \
@@ -98,12 +87,6 @@
     wsock_started = 1;
 }
 
-void
-set_socktype(void)
-{
-}
-
-
 #ifndef USE_SOCKETS_AS_HANDLES
 #undef fdopen
 FILE *

==== //depot/perl/win32/wincesck.c#3 (text) ====
Index: perl/win32/wincesck.c
--- perl/win32/wincesck.c#2~31427~      2007-06-20 07:36:19.000000000 -0700
+++ perl/win32/wincesck.c       2007-06-26 00:38:05.000000000 -0700
@@ -59,10 +59,8 @@
 
 #define StartSockets() \
     STMT_START {                                       \
-       if (!wsock_started) {                           \
+       if (!wsock_started)                             \
            start_sockets();                            \
-           set_socktype();                             \
-       }                                               \
     } STMT_END
 
 #define SOCKET_TEST(x, y) \
@@ -109,11 +107,6 @@
     wsock_started = 1;
 }
 
-void
-set_socktype(void)
-{
-}
-
 u_long
 win32_htonl(u_long hostlong)
 {
End of Patch.

Reply via email to