about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2023-10-08 13:49:59 -0400
committerJune McEnroe <june@causal.agency>2023-10-08 13:49:59 -0400
commit8fe642fc5de16f7571f40895e65dd8173f5d1dde (patch)
tree5bf1cbac49dca18be8226ee762fdb98d5f24d286
parentAdd rc script (diff)
downloadkitd-8fe642fc5de16f7571f40895e65dd8173f5d1dde.tar.gz
kitd-8fe642fc5de16f7571f40895e65dd8173f5d1dde.zip
Don't put the child PID in proctitle
Diffstat (limited to '')
-rw-r--r--kitd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kitd.c b/kitd.c
index 26cfa28..4e5f518 100644
--- a/kitd.c
+++ b/kitd.c
@@ -222,7 +222,6 @@ int main(int argc, char *argv[]) {
 				continue;
 			}
 			child = 0;
-			setproctitle("%s", name);
 
 			if (WIFEXITED(status)) {
 				int exit = WEXITSTATUS(status);
@@ -277,7 +276,6 @@ int main(int argc, char *argv[]) {
 			}
 			if (child) {
 				clock_gettime(CLOCK_MONOTONIC, &uptime);
-				setproctitle("%s [%d]", name, child);
 			} else {
 				setpgid(0, 0);
 				dup2(stdoutRW[1], STDOUT_FILENO);
'3' class='logmsg'> 2021-09-14Sort by title if authors matchJune McEnroe There are probably better things to sort by but title definitely always exists. 2021-09-13Swap-remove tags as they're foundJune McEnroe This makes it even faster. From ~1s on a sqlite3.c amalgamation to ~0.85s. 2021-09-12Replace htagml regex with strncmpJune McEnroe Since ctags only ever produces regular expressions of the form /^re$/ or /^re/ with no other special characters, instead unescape the pattern and simply use strncmp. Running on a sqlite3.c amalgamation, the regex version takes ~37s while the strncmp version takes ~1s, producing identical output. Big win! 2021-09-11Also defer printing comment for lone close-parensJune McEnroe 2021-09-10Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe This fixes badly indented comments. 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroetoryJune McEnroe 2021-01-12Consolidate hilex formatters into hilex.cJune McEnroe 2021-01-12Remove hacky tagging from hilexJune McEnroe God that makes the lexers so much simpler. 2021-01-12Add htagml -iJune McEnroe 2021-01-12Render tag index in HTMLJune McEnroe 2021-01-12Add htagml -xJune McEnroe 2021-01-12Prevent matching the same tag twiceJune McEnroe 2021-01-12Process htagml file line by lineJune McEnroe This simplifies some things, adds support for line number tag definitions, and should enable combining htagml with other preprocessors in the future. 2021-01-12Split fields by tab onlyJune McEnroe Also don't fail hard on non-forward-search definitions. 2021-01-12List both Makefile and html.sh under README.7June McEnroe 2021-01-12Add htagml exampleJune McEnroe 2021-01-12Use mandoc and htagml for bin htmlJune McEnroe 2021-01-12Add htagmlJune McEnroe 2021-01-12Replace causal.agency with a simple mdoc pageJune McEnroe 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe neovim is laggy as hell in my OpenBSD VM, so I switched to vi so I could type without getting frustrated. 2021-01-09Add c -t flag to print expression typeJune McEnroe Also add missing float case. 2021-01-05Update taglineJune McEnroe