'test -S'

Damien Miller djm at mindrot.org
Thu Feb 8 10:08:27 EST 2001


On Wed, 7 Feb 2001, Tim Rice wrote:

> On Wed, 7 Feb 2001, Tom Rudnick wrote:
> 
> > > > > What platforms do/don't support 'test -S' (without the addition of the
> > > > > GNU tools)?
> > 
> > UnixWare v2.x does not support "test -S" in /bin/sh. 
> > It is included in ksh, however.
> 
> Ahh, I think I have an idea. (... modify configure.in, test ...)
> 
> OK, here is a patch that should make the test -S stuff portable.
> I also added "-o -p $egdsock" to the test for UnixWare.
> 
> It might not work for everything but it should work for a lot more systems.
 
Applied. 

I would still prefer a truely portable way to detect the socket though.

-d

-- 
| Damien Miler <djm at mindrot.org> \ ``E-mail attachments are the poor man's 
| http://www.mindrot.org         /   distributed filesystem'' - Dan Geer






More information about the openssh-unix-dev mailing list