diff options
author | Agney Lopes Roth Ferraz <agney@debian.org> | 2006-06-21 22:18:24 -0300 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:36 -0500 |
commit | 078e9c700feccfcf1318b7bde49d6e464bc2ac8c (patch) | |
tree | 4d24c99643f10e4b8b75bebaaec5d48294b3b112 /arch/common/languages.h | |
parent | 18820242e374421ebd6d504a20d11f310b2ac023 (diff) | |
parent | 720f5023a8f68aaaa54cb6b7bf46efee23b5b4c3 (diff) |
Import Debian changes 0.4.1-1
hardinfo (0.4.1-1) unstable; urgency=low
* New upstream release.
Diffstat (limited to 'arch/common/languages.h')
-rw-r--r-- | arch/common/languages.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/common/languages.h b/arch/common/languages.h index 3a31ef7f..71e05dab 100644 --- a/arch/common/languages.h +++ b/arch/common/languages.h @@ -19,7 +19,7 @@ void scan_languages(OperatingSystem * os) { FILE *locale; - gchar buf[128], *retval = ""; + gchar buf[512], *retval = ""; locale = popen("locale -va", "r"); if (!locale) @@ -36,7 +36,7 @@ scan_languages(OperatingSystem * os) *date = NULL, *codeset = NULL; - while (fgets(buf, 128, locale)) { + while (fgets(buf, 512, locale)) { if (!strncmp(buf, "locale:", 7)) { sscanf(buf, "locale: %s", name); fgets(buf, 128, locale); |