summary refs log tree commit diff
path: root/event.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-27 00:49:49 -0400
committerJune McEnroe <june@causal.agency>2019-07-27 00:49:49 -0400
commit2571d6ef5533b005f0f3ece462736693f354f986 (patch)
tree7e2553ca95f20b1c5f9bbaf5cb6aba8e4697f685 /event.c
parentAdd /list (diff)
downloadcatgirl-2571d6ef5533b005f0f3ece462736693f354f986.tar.gz
catgirl-2571d6ef5533b005f0f3ece462736693f354f986.zip
Mark sig_atomic_t array volatile
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index 2561f09..6bc9d92 100644
--- a/event.c
+++ b/event.c
@@ -105,7 +105,7 @@ static void childRead(void) {
 	}
 }
 
-static sig_atomic_t sig[NSIG];
+static volatile sig_atomic_t sig[NSIG];
 static void handler(int n) {
 	sig[n] = 1;
 }
>June McEnroe 2018-12-05Send input errors to the current tagJune McEnroe 2018-12-05Rename verbose to rawJune McEnroe And change the format of the sticky tag names again. 2018-12-05Add standards needed for SASL to catgirl.1June McEnroe 2018-12-04Implement SASL PLAIN authenticationJune McEnroe 2018-12-04Show error if disconnected unintentionallyJune McEnroe 2018-12-04Send only SIGHUP in sandmanJune McEnroe 2018-12-04Revert half-working reconnecting stuffJune McEnroe 2018-12-04Add -a auth option for unimplemented SASLJune McEnroe 2018-12-03Implement base64 encodingJune McEnroe Will be used for SASL authentication. 2018-12-03Call uiShow at init so that TermFocus gets setJune McEnroe 2018-12-03Check nick to determine if is selfJune McEnroe I forgot that usernames aren't unique for a minute there. 2018-12-03Ignore ~ username prefixesJune McEnroe This simplifies a lot. 2018-12-02Move host, port, pass, webp to selfJune McEnroe 2018-12-02Add -r option for realnameJune McEnroe 2018-12-02Send automated messages to TagStatus with UIColdJune McEnroe 2018-12-02Various man page tweaks and editsJune McEnroe 2018-12-02Fix UI resume on /urlJune McEnroe 2018-12-02Add sandman.m to READMEJune McEnroe 2018-12-01Crudely handle reconnecting after suspendJune McEnroe 2018-12-01Fix sandman hangJune McEnroe It was hanging after sending SIGTSTP to its child, then receiving a SIGCHLD to indicate the child had stopped. 2018-12-01Use sigaction in sandmanJune McEnroe 2018-11-30Handle signals consistently in the event loopJune McEnroe 2018-11-30Separate ircConnect and ircDisconnectJune McEnroe 2018-11-30Measure length of log timestamp more consistentlyJune McEnroe 2018-11-30Reformat sandman Objective-C codeJune McEnroe 2018-11-30Ignore sandmanJune McEnroe Oops. 2018-11-30Add sandmanJune McEnroe 2018-11-29Strip timestamps from log replayJune McEnroe Also fix string length. %.*s does not behave as one might expect when writing wchar_t. 2018-11-29Add basic log replayJune McEnroe 2018-11-29Show unread count in term titleJune McEnroe Also render status line with just spaces. Looks much cleaner this way. 2018-11-29Handle no such nick errorJune McEnroe 2018-11-29Add /whoisJune McEnroe 2018-11-29Set LIBRESSL_PREFIX in Darwin.mkJune McEnroe I think this is still the right path for Homebrew, which is the most popular... 2018-11-28Add NetBSD.mkJune McEnroe 2018-11-28Make use of config.mk and add Darwin.mkJune McEnroe