Репозитории ALT
Группа :: Мониторинг
Пакет: ngrep
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: ngrep-1.45-alt-i18n.patch
Скачать
Скачать
--- ngrep.c
+++ ngrep.c
@@ -77,6 +77,8 @@
#include <regex.h>
#endif
+#include <locale.h>
+
#if defined(LINUX)
#ifndef __FAVOR_BSD
# define __FAVOR_BSD
@@ -201,6 +203,8 @@ int main(int argc, char **argv) {
signal(SIGWINCH, update_windowsize);
#endif
+ setlocale(LC_ALL, "");
+
while ((c = getopt(argc, argv, "LNhXViwqpevxlDtTRMs:n:c:d:A:I:O:S:P:F:W:")) != EOF) {
switch (c) {
case 'W': {