Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37725097
en ru br
ALT Linux repos
S:2.2.11-alt3
5.0: 2.2.9-alt5
4.1: 2.2.9-alt5
4.0: 2.2.9-alt5
3.0: 2.2.9-alt3

Group :: Development/C
RPM: indent

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: indent-2.2.11-alt-i18n.patch
Download


--- indent/src/indent.c
+++ indent/src/indent.c
@@ -1008,8 +1008,8 @@ int main(
     BOOLEAN using_stdin = false;
     exit_values_ty exit_status;
 
-#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES) && defined (HAVE_LCCTYPES)
-    setlocale(LC_MESSAGES, "");
+#if defined (HAVE_SETLOCALE)
+    setlocale(LC_ALL, "");
 #endif
     bindtextdomain(PACKAGE, LOCALEDIR);
     textdomain(PACKAGE);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin