diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-04-27 09:02:51 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-04-27 09:02:51 +0000 |
commit | 76352f64bb2f8c8c5f45d59175642e30264435dd (patch) | |
tree | 403fd423c48d015a09775783d9d8cc992560e49b /locale/programs | |
parent | a7ed068ebcc9a24898149961a3cd53efded9e803 (diff) | |
download | glibc-76352f64bb2f8c8c5f45d59175642e30264435dd.tar.gz glibc-76352f64bb2f8c8c5f45d59175642e30264435dd.tar.xz glibc-76352f64bb2f8c8c5f45d59175642e30264435dd.zip |
Update.
* locale/programs/locale.c (show_info): Use '\177' instead of CHAR_MAX.
Diffstat (limited to 'locale/programs')
-rw-r--r-- | locale/programs/locale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/locale/programs/locale.c b/locale/programs/locale.c index 0a8d0563fb..9dc0e393a9 100644 --- a/locale/programs/locale.c +++ b/locale/programs/locale.c @@ -864,7 +864,7 @@ show_info (const char *name) printf ("%s=", item->name); if (val != NULL) - printf ("%d", *val == CHAR_MAX ? -1 : *val); + printf ("%d", *val == '\177' ? -1 : *val); putchar ('\n'); } break; @@ -878,12 +878,12 @@ show_info (const char *name) while (cnt > 1) { - printf ("%d;", *val == CHAR_MAX ? -1 : *val); + printf ("%d;", *val == '\177' ? -1 : *val); --cnt; ++val; } - printf ("%d\n", cnt == 0 || *val == CHAR_MAX ? -1 : *val); + printf ("%d\n", cnt == 0 || *val == '\177' ? -1 : *val); } break; case word: |