From bc56d4b09a281ac46443c9931ae20e9298753da5 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 29 Jan 2021 17:00:50 -0500 Subject: Use int when checking for EOF --- bin/bit.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/bit.y b/bin/bit.y index 9d977a34..1119bce6 100644 --- a/bin/bit.y +++ b/bin/bit.y @@ -88,7 +88,7 @@ expr: static int lexInt(uint64_t base) { yylval = 0; - for (char ch; EOF != (ch = getchar());) { + for (int ch; EOF != (ch = getchar());) { uint64_t digit = base; if (ch == '_') { continue; @@ -108,7 +108,7 @@ static int lexInt(uint64_t base) { } static int yylex(void) { - char ch; + int ch; while (isblank(ch = getchar())); if (ch == '\'') { yylval = 0; -- cgit 1.4.1 r'>master (deprecated) process supervisor
summary refs log tree commit diff
path: root/catsit-watch.c (unfollow)
Commit message (Expand)Author
2021-05-19Remove freenodeJune McEnroe
2021-03-01Skip leading whitespace on prepends and commands 1.3June McEnroe
2021-03-01Only prepend exec if command line doesn't contain ;&|()June McEnroe
2021-03-01Exit with EX_TEMPFAIL when watching filesJune McEnroe
2021-02-27Add -d flag to catsit-watchJune McEnroe
2021-02-27Add -a to catsit-watchJune McEnroe
2021-02-25Add catsit-timer utilityJune McEnroe
2021-02-25Add catsit-watch utilityJune McEnroe
2021-02-01Drop pledge privileges after daemonization 1.2June McEnroe
2021-02-01Remove use of "%n"June McEnroe
2021-02-01Check signals first in the loopJune McEnroe
2020-12-15Log a message when stopping a service waiting to restart 1.1June McEnroe
2020-11-10Refactor unveil calls so errors can be reported properlyJune McEnroe
2020-10-27Do not increment signalsJune McEnroe
2020-10-23Only look up group if one is namedJune McEnroe
2020-10-23Remove default defines of RUNDIR, ETCDIRJune McEnroe
2020-10-23Set shell scripts executable in buildJune McEnroe
2020-10-20Humanize milliseconds if interval is less than 1sJune McEnroe
2020-10-20Humanize restart intervalJune McEnroe
2020-08-17Document default catsit.conf location on OpenBSD 1.0June McEnroe
2020-08-17Template catsit script with RUNDIRJune McEnroe
2020-08-17Clean up includesJune McEnroe
2020-08-17Log service uptime in statusJune McEnroe