[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 1826 - trunk/subversion/clients/cmdline

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-04-29 20:33:03 CEST

daniel@tigris.org writes:

> /* Now, run the editor command line. Ignore the return values; all
> we really care about (for now) is whether or not our tmpfile
> contents have changed. */
> - cmd_args[0] = editor;
> - cmd_args[1] = tmpfile_name->data;
> - SVN_ERR (svn_io_run_cmd (".", editor, cmd_args, &exit_code, &exit_why,
> - TRUE, NULL, NULL, NULL, pool));
> + cmd = apr_psprintf (pool, "%s %s", editor, tmpfile_name->data);
> +
> + system (cmd);

What? No checking of the return code?

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 29 20:34:28 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.