Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37040268
en ru br
Репозитории ALT
S:3.4-alt9
5.1: 3.4-alt2
4.1: 3.4-alt1
4.0: 3.4-alt1
3.0: 3.2-alt1
www.altlinux.org/Changes

Группа :: Архивирование/Резервное копирование
Пакет: pax

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: pax-3.4-alt-gcc8.patch
Скачать


diff --git a/pax/src/pax.c b/pax/src/pax.c
index 20817d1..b7c1bcf 100644
--- a/pax/src/pax.c
+++ b/pax/src/pax.c
@@ -403,27 +403,27 @@ gen_init (void)
 
   if ((sigaction (SIGHUP, &n_hand, &o_hand) < 0) &&
       (o_hand.sa_handler == SIG_IGN) &&
-      (sigaction (SIGHUP, &o_hand, &o_hand) < 0))
+      (sigaction (SIGHUP, &o_hand, NULL) < 0))
     goto out;
 
   if ((sigaction (SIGTERM, &n_hand, &o_hand) < 0) &&
       (o_hand.sa_handler == SIG_IGN) &&
-      (sigaction (SIGTERM, &o_hand, &o_hand) < 0))
+      (sigaction (SIGTERM, &o_hand, NULL) < 0))
     goto out;
 
   if ((sigaction (SIGINT, &n_hand, &o_hand) < 0) &&
       (o_hand.sa_handler == SIG_IGN) &&
-      (sigaction (SIGINT, &o_hand, &o_hand) < 0))
+      (sigaction (SIGINT, &o_hand, NULL) < 0))
     goto out;
 
   if ((sigaction (SIGQUIT, &n_hand, &o_hand) < 0) &&
       (o_hand.sa_handler == SIG_IGN) &&
-      (sigaction (SIGQUIT, &o_hand, &o_hand) < 0))
+      (sigaction (SIGQUIT, &o_hand, NULL) < 0))
     goto out;
 
   if ((sigaction (SIGXCPU, &n_hand, &o_hand) < 0) &&
       (o_hand.sa_handler == SIG_IGN) &&
-      (sigaction (SIGXCPU, &o_hand, &o_hand) < 0))
+      (sigaction (SIGXCPU, &o_hand, NULL) < 0))
     goto out;
 
   n_hand.sa_handler = SIG_IGN;
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin