[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: Ben Collins <bcollins_at_debian.org>
Date: 2002-03-12 06:59:17 CET

On Tue, Mar 12, 2002 at 12:04:23AM -0500, Greg Hudson wrote:
> 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.

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.

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/       Ben Collins    --    Debian GNU/Linux    --    WatchGuard.com      \
`          bcollins@debian.org   --   Ben.Collins@watchguard.com           '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'
---------------------------------------------------------------------
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:03:11 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.