Репозитории ALT
S: | 0.9.18-alt3.qa2 |
5.1: | 0.9.18-alt3 |
4.1: | 0.9.16-alt3 |
4.0: | 0.9.16-alt3 |
3.0: | 0.9.16-alt1 |
Группа :: Система/Серверы
Пакет: irda-utils
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: irda-utils-0.9.18-rootonly.patch
Скачать
Скачать
diff -Naur irda-utils-0.9.18-orig/irdadump/main.c irda-utils-0.9.18/irdadump/main.c
--- irda-utils-0.9.18-orig/irdadump/main.c 2006-07-11 06:16:06 +0000
+++ irda-utils-0.9.18/irdadump/main.c 2008-12-31 23:24:54 +0000
@@ -72,6 +72,11 @@
char *readfilename = NULL;
int fd, c;
+ if(geteuid()) {
+ puts("You need to be root to run this utility.\n");
+ return 1;
+ }
+
while ((c = getopt(argc, argv, "bc:di:lpr:s:tvw:x?")) != -1) {
switch (c) {
case 'b': /* Dumb bytes */