On 11/03/11 16:53, Danek Duvall wrote:
Here:

https://cr.opensolaris.org/action/browse/userland/dduvall/pybugs/

is a webrev for three simple python changes:

     7053223 python needs lint libraries
     7097702 python _close_fds from subprocess.py can call close 2 billion times
     7103310 os.mknod() not available


Would it make sense to have close_func do
        if (fd >= hi)
                return 1;  /* stop walking */
        else if (fd >= lo)
                close(fd);

in order to more quickly exit the walk when its called from
os.closerange(3, but) ?

--
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to