Procházet zdrojové kódy

initialize on declaration

master
Arun Prakash Jana před 6 roky
rodič
revize
7b542d0a45
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: A75979F35C080412
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. +1
    -2
      src/nnn.c

+ 1
- 2
src/nnn.c Zobrazit soubor

@@ -4222,8 +4222,7 @@ int main(int argc, char *argv[])
cfg.restrict0b = 1;

/* Ignore/handle certain signals */
struct sigaction act;
memset(&act, 0, sizeof(act));
struct sigaction act = {};
act.sa_sigaction = &sigint_handler;
act.sa_flags = SA_SIGINFO;
if (sigaction(SIGINT, &act, NULL) < 0) {


Načítá se…
Zrušit
Uložit