projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* support/Util/MySystem.c (merge_command): revert bad fix
[fw/sdcc]
/
support
/
Util
/
MySystem.c
diff --git
a/support/Util/MySystem.c
b/support/Util/MySystem.c
index 7017ad1e02b4d3118c5df669c3bbc0f34725b744..b735cd640f4ad34ec6cef5e12a785f3eee9cef80 100644
(file)
--- a/
support/Util/MySystem.c
+++ b/
support/Util/MySystem.c
@@
-237,8
+237,7
@@
merge_command(const char *command, const char *params)
{
/* allocate extra space for 2x'"', ' ' and '\0' */
char *cmd_line = (char *)Safe_alloc(strlen(command) + strlen(params) + 4);
- sprintf(cmd_line, "%s %s", command, params);
-
+ sprintf(cmd_line, "\"%s\" %s", command, params);
return cmd_line;
}