diff options
author | Tom Tromey <tromey@redhat.com> | 1998-04-29 02:51:43 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1998-04-29 02:51:43 +0000 |
commit | 2614063dcee048d9f2f665afbf579aceaa611591 (patch) | |
tree | f741353f1c25b1f3c2a6786eaaee8e3a966be208 /gas | |
parent | faaba487f80231192b048eaac6400d42cfdff10c (diff) | |
download | gdb-2614063dcee048d9f2f665afbf579aceaa611591.zip gdb-2614063dcee048d9f2f665afbf579aceaa611591.tar.gz gdb-2614063dcee048d9f2f665afbf579aceaa611591.tar.bz2 |
* as.c (main): Conditionally call setlocale.
* gasp.c (main): Likewise.
* asintl.h: Include <locale.h> if HAVE_LOCALE_H.
(LC_MESSAGES): Now can be defined even when ENABLE_NLS.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/gasp.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 4e23d74..91f0412 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +Tue Apr 28 19:16:26 1998 Tom Tromey <tromey@cygnus.com> + + * as.c (main): Conditionally call setlocale. + * gasp.c (main): Likewise. + * asintl.h: Include <locale.h> if HAVE_LOCALE_H. + (LC_MESSAGES): Now can be defined even when ENABLE_NLS. + start-sanitize-d30v Tue Apr 28 18:33:23 1998 Frank Ch. Eigler <fche@cygnus.com> @@ -3605,7 +3605,9 @@ main (argc, argv) ifstack[0].on = 1; ifi = 0; +#ifdef HAVE_SETLOCALE setlocale (LC_MESSAGES, ""); +#endif bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); |