On Fri, Jul 20, 2001 at 10:34:13AM -0400, Jeff Trawick wrote:
> > How do we test for this in autoconf (unless we specify something in
> > hints)?
>
> pipe()
> set read handle non-blocking
> call read() on read handle of pipe
>
> if rc=0, then this is Solaris^H^H^H^H^H^H^Ha platform which acts like
> Solaris in this respect
Okay, I can try and add something like this.
> wow again... maybe we should do O_NONBLOCK instead of O_NDELAY?
Oh, I take it back. That's an #elif not and #if. So, yeah, it should
only be doing one of them. Hmm. Somehow, we're getting the NDELAY
semantics. I wonder if O_NONBLOCK isn't being used on Solaris?
> I was thinking that we'd want to do the poll as a socket and read the
> POD as a file.
Yeah. If we fix APR's read to handle this, then yeah, this makes more
sense. -- justin