[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 1485 - trunk/subversion/libsvn_subr trunk/subversion/clients/cmdline trunk/subversion/clients/cmdline/man

From: Daniel Berlin <dan_at_dberlin.org>
Date: 2002-03-12 07:23:10 CET

> >
> > It would also probably be reasonable, on Unix, to reopen /dev/tty as
> > stdin (and maybe also as stdout and stderr) on the child in this case.
>
> Yeah. Couldn't see a portable way to do this. Since I didn't see any
> other OS specific code, I didn't know what the consensus would be in
> this case.

I remember porting the "portable version" of OpenSSH to BeOS (back when I
used it, anyway)
Almost all of the work (implementing the random device was the other hard
work :P) was changing the calls to open/close ttys, and redirect them to
places, in ways that were assumed to be portable, but were not.

Just a cautionary note.

--Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 12 07:23:58 2002

This is an archived mail posted to the Subversion Dev mailing list.