diff options
| author | Watson Wheeler <git@tazy.dev> | 2026-07-14 21:42:02 +1000 |
|---|---|---|
| committer | Watson Wheeler <git@tazy.dev> | 2026-07-14 21:42:02 +1000 |
| commit | 9019408862e61c0cf7f1646c39227759acc01abe (patch) | |
| tree | fa5cd043df2eee050458a8d2964b73b5c165e352 /scripts | |
| parent | 9807092c0d7270a1cd27e5ff87fc90619c5ebde6 (diff) | |
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Doxyfile | 0 | ||||
| -rw-r--r-- | scripts/email_issue.c | 5 |
2 files changed, 4 insertions, 1 deletions
diff --git a/scripts/Doxyfile b/scripts/Doxyfile new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/scripts/Doxyfile diff --git a/scripts/email_issue.c b/scripts/email_issue.c index 6a47d6b..f4801d6 100644 --- a/scripts/email_issue.c +++ b/scripts/email_issue.c @@ -11,7 +11,7 @@ void make_template(bool verbose) { char tmp_template[] = "/tmp/email_issue_XXXXXX"; int fd = mkstemp(tmp_template); - const char *issue_template = + const char issue_template[] = "# Lines beginning with hashtags (like this one) are generated by the template.\n" "# They are not included in the issue.\n" "# Leave a newline at the bottom\n" @@ -40,6 +40,9 @@ void make_template(bool verbose) { "[TYPE LEVEL] Issue title (doe)\n\n" "Your issue description here...\n\n" "@@END-OF-ISSUE@@\n"; + + char cmd[300]; + snprintf(cmd, sizeof(cmd), "vim -f %s", tmpfile); // TODO: Make this use $EDITOR in the future. or not. vim works fine } int main (int argc, char *argv[]) |
