IT> On the default installation of FreeBSD 4.x, /dev does not have
IT> pty[qrs]* device nodes.  allocatePty in sys.c searches
IT> /dev/pty[p-zP-T][0-9a-f],

Actually, the problem is that allocatePty stops as soon as it
encounters ENOENT on the assumption that there are no holes in the pty
space.  This assumption is wrong on recent FreeBSD, which has changed
the names of ptys w.r.t. 4.4BSD.  (Why?)  

I've fixed this by continuing searching when getting ENOENT, which
should have no ill effects other than taking more time to fail when
running out of ptys.

That's patch 5674, by the way, it'd be nice if the various BSD
maintainers (including Mac OS X) could have a look at it.

                                        Juliusz
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to