[torquedev] read_nonblocking_socket() wtf?

David Beer dbeer at adaptivecomputing.com
Fri Jul 16 14:42:42 MDT 2010




> 
> I'm on 2.1.x. Is this all fixed up in later branches?
> 
> 

I'm assuming you're referring to the second fcntl command. It is not fixed in later implementations. Is this the patch you applied?

Index: src/lib/Libifl/nonblock.c
===================================================================
--- src/lib/Libifl/nonblock.c	(revision 3865)
+++ src/lib/Libifl/nonblock.c	(working copy)
@@ -99,12 +99,10 @@
     /* the below non-blocking socket flag check should be rolled into
        pbs_disconnect and removed from here (NYI) */
 
-    /*
     if (fcntl(fd,F_SETFL,flags) == -1)
       {
       return(-1);
       }
-    */
     }    /* END else (flags & BLOCK) */
 
   /* Set a timer to prevent an infinite loop here. */


> --
> Garrick Staples, GNU/Linux HPCC SysAdmin
> University of Southern California
> 
> Life is Good!
> 
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev

-- 
David Beer | Senior Software Engineer
Adaptive Computing


More information about the torquedev mailing list