Репозитории ALT
S: | 2.2-alt1 |
5.1: | 0.60-alt5 |
4.1: | 0.51-alt1.M41.3 |
4.0: | 0.19-alt1 |
3.0: | 0.16-alt1 |
Группа :: Система/Библиотеки
Пакет: shared-mime-info
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: shared-mime-info-2.0-alt-cachedir-param.patch
Скачать
Скачать
--- shared-mime-info-2.0/src/update-mime-database.c.cachedir 2020-05-06 17:49:18.000000000 +0300
+++ shared-mime-info-2.0/src/update-mime-database.c 2020-05-07 13:09:53.816056528 +0300
@@ -3676,7 +3676,11 @@
}
}
- if (optind != argc - 1)
+ if (optind == argc - 2)
+ {
+ g_printerr(_("%s: Deprecated second parameter '%s' ignored.\n"), argv[0], argv[optind + 1]);
+ }
+ else if (optind != argc - 1)
{
usage(argv[0]);
return EXIT_FAILURE;