[hackers] [slstatus] Add blank line after setlocale || Aaron Marcher

From: <git_AT_suckless.org>
Date: Sat, 16 Sep 2017 14:13:09 +0200 (CEST)

commit 8e25af7dc33bdcc0df6f4f173da7a2f883141d70
Author: Aaron Marcher <me_AT_drkhsh.at>
AuthorDate: Sat Sep 16 14:11:49 2017 +0200
Commit: Aaron Marcher <me_AT_drkhsh.at>
CommitDate: Sat Sep 16 14:11:49 2017 +0200

    Add blank line after setlocale
    
    setlocale() has to be separated from the signal handling.

diff --git a/slstatus.c b/slstatus.c
index cddc79a..d17bae7 100644
--- a/slstatus.c
+++ b/slstatus.c
_AT_@ -843,6 +843,7 @@ main(int argc, char *argv[])
         }
 
         setlocale(LC_ALL, "");
+
         memset(&act, 0, sizeof(act));
         act.sa_handler = terminate;
         sigaction(SIGINT, &act, NULL);
Received on Sat Sep 16 2017 - 14:13:09 CEST

This archive was generated by hypermail 2.3.0 : Sat Sep 16 2017 - 14:24:44 CEST