Репозитории ALT
S: | 0.60-alt36 |
5.1: | 0.60-alt26 |
4.1: | 0.60-alt25 |
4.0: | 0.60-alt25 |
3.0: | 0.60-alt22 |
Группа :: Система/Основа
Пакет: SimplePAMApps
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: SimplePAMApps-0.60-alt-_BSD_SOURCE.patch
Скачать
Скачать
--- SimplePAMApps/common/lib/login_indep.c
+++ SimplePAMApps/common/lib/login_indep.c
@@ -1,4 +1,3 @@
-#define _BSD_SOURCE
#include <string.h>
#include <stdio.h>
#include <unistd.h>
--- SimplePAMApps/common/lib/su_indep.c
+++ SimplePAMApps/common/lib/su_indep.c
@@ -1,6 +1,5 @@
#define ROOT_UID 0
-#define _BSD_SOURCE /* for setgroups() and other calls */
#include <stdlib.h>
#include <signal.h>
#include <termios.h>
--- SimplePAMApps/pamapps/login/login.c
+++ SimplePAMApps/pamapps/login/login.c
@@ -20,7 +20,6 @@ static const char rcsid[] =
" - Login application. <saw@msu.ru>"
;
-#define _BSD_SOURCE
#include <ctype.h>
#include <fcntl.h>
#include <grp.h>