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

[PATCH] Quote filename passed to $EDITOR

From: Sander Striker <striker_at_apache.org>
Date: 2002-07-23 10:08:09 CEST

No time to commit right now.

Sander

Index: ./subversion/clients/cmdline/util.c
===================================================================
--- ./subversion/clients/cmdline/util.c
+++ ./subversion/clients/cmdline/util.c 2002-07-23 10:04:37.000000000 +0200
@@ -416,7 +416,7 @@
     }

   /* Now, run the editor command line. */
- cmd = apr_psprintf (pool, "%s %s", editor, tmpfile_native);
+ cmd = apr_psprintf (pool, "%s \"%s\"", editor, tmpfile_native);
   sys_err = system (cmd);
   if (sys_err != 0)
     {

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 23 09:59:13 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.