diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-05-20 14:41:28 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-05-20 14:41:28 +0000 |
commit | 7b3c726991f0f060ca18c576fc7816b930435240 (patch) | |
tree | 1b6e5c7396fd89cd81baa018af6080c5349e1c6b /hardinfo2/arch/common/languages.h | |
parent | cbd8b0d401add58a06d82c7a5d7fb22b53d80714 (diff) |
- Add binreloc support.
- Add users information.
- Add ppc64 and mips64 support.
- Fix loadgraph autoscaling (should be usable now! :)
- Misc cosmetic changes.
- Misc wording changes.
Diffstat (limited to 'hardinfo2/arch/common/languages.h')
-rw-r--r-- | hardinfo2/arch/common/languages.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo2/arch/common/languages.h b/hardinfo2/arch/common/languages.h index 3a31ef7f..71e05dab 100644 --- a/hardinfo2/arch/common/languages.h +++ b/hardinfo2/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); |