about summary refs log tree commit diff
path: root/chat.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-06-24 17:38:18 -0400
committerJune McEnroe <june@causal.agency>2021-06-25 11:50:14 -0400
commita0cc519829ff7ff5eadc1442439d69fcb87e034a (patch)
treebac9e004e2cfbdcdd4d6fd60d8b93703bebedf63 /chat.c
parentFreeBSD: Enter capabilities mode if restricted (diff)
downloadcatgirl-a0cc519829ff7ff5eadc1442439d69fcb87e034a.tar.gz
catgirl-a0cc519829ff7ff5eadc1442439d69fcb87e034a.zip
Move setting CLOEXEC on socket to ircConnect
Diffstat (limited to '')
-rw-r--r--chat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/chat.c b/chat.c
index 170094f..873eed9 100644
--- a/chat.c
+++ b/chat.c
@@ -338,7 +338,6 @@ int main(int argc, char *argv[]) {
 	signal(SIGTERM, signalHandler);
 	signal(SIGCHLD, signalHandler);
 
-	fcntl(irc, F_SETFD, FD_CLOEXEC);
 	bool pipes = !self.kiosk && !self.restricted;
 	if (pipes) {
 		int error = pipe(utilPipe) || pipe(execPipe);
lling getopt_long again after it returns -1June McEnroe 2019-11-08Only change AWAY status for registered clientsJune McEnroe 2019-11-07Just write the example normallyJune McEnroe 2019-11-07Include path in readlinkat errorJune McEnroe 2019-11-07Call clientConsume before clientRecvJune McEnroe 2019-11-06Use -l:filename in Linux.mkJune McEnroe 2019-11-06Fix compat.h for #defined strlcpyJune McEnroe 2019-11-06Allow unsetting LIBRESSL_PREFIXJune McEnroe 2019-11-06Document calico service configurationJune McEnroe 2019-11-06Document SASL EXTERNAL configuration in more detailJune McEnroe 2019-11-06Document pounce service configurationJune McEnroe 2019-11-06Mention Darwin and GNU/Linux in READMEJune McEnroe 2019-11-06Assume LibreSSL from brew on DarwinJune McEnroe 2019-11-06Remove -DNO_EXPLICIT_BZERO from Darwin.mkJune McEnroe 2019-11-06Don't install rc scripts or dirs on LinuxJune McEnroe