Only block SIGWINCH when connecting - sacc - sacc(omys), simple console gopher client
 (HTM) git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) LICENSE
       ---
 (DIR) commit 5b8bd6016a9bc52b643e55335b46de1aaeae2940
 (DIR) parent 250ea3842c49c0f1b8224a607e5a4d7fd5dd7ae3
 (HTM) Author: Quentin Rameau <quinq@fifth.space>
       Date:   Sat,  2 Nov 2019 14:58:47 +0100
       
       Only block SIGWINCH when connecting
       
       This relaxes a bit the mask set in dba0b8d.
       
       Diffstat:
         M sacc.c                              |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/sacc.c b/sacc.c
       @@ -463,7 +463,8 @@ connectto(const char *host, const char *port)
                struct addrinfo *addrs, *addr;
                int r, sock = -1;
        
       -        sigfillset(&set);
       +        sigemptyset(&set);
       +        sigaddset(&set, SIGWINCH);
                sigprocmask(SIG_BLOCK, &set, &oset);
        
                if (r = getaddrinfo(host, port, &hints, &addrs)) {