Bug Fix - #313 Edit command fails when data.location includes spaces

- Applied patch from Cory Donnelly.
This commit is contained in:
Paul Beckingham 2009-11-16 22:10:47 -05:00
parent 30c6dd0047
commit 6e673d2834
3 changed files with 4 additions and 1 deletions

View file

@ -18,6 +18,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Johan Friis Johan Friis
Steven de Brouwer Steven de Brouwer
Pietro Cerutti Pietro Cerutti
Cory Donnelly
Thanks to the following, who submitted detailed bug reports and excellent suggestions: Thanks to the following, who submitted detailed bug reports and excellent suggestions:
Eugene Kramer Eugene Kramer

View file

@ -6,6 +6,8 @@
readable and preferred format with the "edit" command. readable and preferred format with the "edit" command.
+ Fixed bug that caused a hang on cygwin, when a task with multiple + Fixed bug that caused a hang on cygwin, when a task with multiple
annotations was edited (thanks to Joe Pulliam). annotations was edited (thanks to Joe Pulliam).
+ Fixed bug #314 where the edit command fails when data.location includes
directories containing spaces (thanks to Cory Donnelly).
------ old releases ------------------------------ ------ old releases ------------------------------

View file

@ -543,7 +543,7 @@ void editFile (Task& task)
// Complete the command line. // Complete the command line.
editor += " "; editor += " ";
editor += file.str (); editor += "\"" + file.str () + "\"";
ARE_THESE_REALLY_HARMFUL: ARE_THESE_REALLY_HARMFUL:
// Launch the editor. // Launch the editor.