[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: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-03-12 06:04:23 CET

On Mon, 2002-03-11 at 14:47, bcollins@tigris.org wrote:
> + /* If user passed '-', use stdin. We could use apr_file_open_stdin here, and
> + * in fact, it does work. Problem is that if the same command invokes the
> + * editor, stdin is crap, and the editor acts funny (if not die outright). I
> + * wanted to just disallow stdin reading and invoking the editor, but there's
> + * no easy callback for that right now. */

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 12 06:04:54 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.