summaryrefslogtreecommitdiffstats
path: root/src/CLI/run-command.h
Commit message (Collapse)AuthorAgeFilesLines
* src/CLI/*: fix an unterminated argv + simplificationsDenys Vlasenko2009-10-311-1/+1
| | | | | | | | | | | | | | | The fix is: - const char *args[6]; - args[0] = editor; - args[1] = path; + char *args[3]; + args[0] = (char*)editor; + args[1] = (char*)path; + args[2] = NULL; run_command(args); Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Initial implementation of crash report editor. Splitted CLI.cpp into ↵Karel Klic2009-10-201-0/+23
multiple files for clarity.