Репозитории ALT
S: | 1.3.59-alt4 |
5.1: | 1.3.29-alt2 |
4.1: | 1.3.29-alt2 |
4.0: | 1.3.29-alt2 |
3.0: | 1.2.24-alt5 |
+backports: | 1.3.29-alt0.M30.1 |
Группа :: Система/Настройка/Загрузка и инициализация
Пакет: chkconfig
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: chkconfig-1.2.24-alt-argc.patch
Скачать
Скачать
diff -ur chkconfig-1.2.24~/chkconfig.c chkconfig-1.2.24/chkconfig.c
--- chkconfig-1.2.24~/chkconfig.c Sat Jan 26 20:13:02 2002
+++ chkconfig-1.2.24/chkconfig.c Sat Jan 26 20:27:34 2002
@@ -283,6 +283,8 @@
bindtextdomain("chkconfig","/usr/share/locale");
textdomain("chkconfig");
+ if (argc < 1) usage();
+
optCon = poptGetContext("chkconfig", argc, argv, optionsTable, 0);
poptReadDefaultConfig(optCon, 1);