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

Re: svn commit invokes $EDITOR not where svn run from

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2002-08-08 17:12:12 CEST

On Thu, 8 Aug 2002, Alexis Huxley wrote:

> I thought system() was bad anyway?
>
> What's wrong with a normal fork() + exec()? The child does a chdir() and
> uses probably execvp() on a sprintf() of getenv("EDITOR") and the name of
> the temp file? Ok, I'm sure SVN has it's own way of calling these
> functions, but ... did I miss something?

Now now, we've been in the "system() is bad" loop several laps already,
please spare us another round. ;-)

system() is fine for this.

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 8 17:13:01 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.