https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6333

Daniel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Daniel <[email protected]> 2010-02-11 14:19:13 UTC ---
Can be "solved" like this:

@@ -74,12 +74,14 @@
   ($self->{latest_kid_fh}, $self->{parent}) =
             $io->socketpair(AF_UNIX,SOCK_STREAM,PF_UNSPEC)
             or die "backchannel: socketpair failed: $!";
-
-  # set those to use non-blocking I/O
-  $self->{parent}->blocking(0)
-            or die "backchannel: set non-blocking failed: $!";
-  $self->{latest_kid_fh}->blocking(0)
-            or die "backchannel: set non-blocking failed: $!";
+        
+    # set those to use non-blocking I/O
+    if (!Mail::SpamAssassin::Util::am_running_on_windows()) {  
+          $self->{parent}->blocking(0)
+                    or die "backchannel: set non-blocking failed: $!";
+          $self->{latest_kid_fh}->blocking(0)
+                    or die "backchannel: set non-blocking failed: $!";
+    }
 }

 sub setup_backchannel_parent_post_fork {

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to