Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37863670
en ru br
ALT Linux repositórios
S:1.46-alt0.2
5.0: 1.45-alt3
4.1: 1.45-alt2
4.0: 1.45-alt2
3.0: 1.44-alt1

Group :: Monitoramento
RPM: ngrep

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: ngrep-1.45-alt-i18n.patch
Download


--- 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': {
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009