Skip to content

Commit

Permalink
support valac < 0.40 (xenial), no really this time
Browse files Browse the repository at this point in the history
  • Loading branch information
bkw777 committed Aug 13, 2021
1 parent c28d891 commit 4bf12b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ mainline (1.0.14) UNRELEASED; urgency=medium
* Fix a segfault if no mainline kernels installed
* Allow /tmp to be mounted with noexec
* Replace --show-unstable with --include-unstable and --hide-unstable, and correct --help
* Support building on valac < 0.40 (xenial)

-- Brian K. White <b.kenyon.w@gmail.com> Mon, 09 Aug 2021 20:56:07 -0400
-- Brian K. White <b.kenyon.w@gmail.com> Fri, 13 Aug 2021 15:39:15 -0400

mainline (1.0.13) unstable; urgency=medium

Expand Down
2 changes: 1 addition & 1 deletion po/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: mainline 1.0.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-13 15:28-0400\n"
"POT-Creation-Date: 2021-08-13 16:24-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down
4 changes: 4 additions & 0 deletions src/Utility/TeeJee.ProcessHelper.vala
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ namespace TeeJee.ProcessHelper{
Pid childPid;
foreach (long pid in child_pids){
childPid = (Pid) pid;
#if VALA_0_40
Posix.kill (childPid, Posix.Signal.TERM);
#else
Posix.kill (childPid, Posix.SIGTERM);
#endif
}
}
}
Expand Down

0 comments on commit 4bf12b3

Please sign in to comment.