Package: gnat
Version: 4.9
Severity: important

Dear Maintainer,

I compiled and ran this program:

with Ada.Locales;
with Ada.Text_IO;

procedure Lang is
   use Ada.Locales;
   use Ada.Text_IO;
begin
   Put_Line (Country (1) & Country (2));
   Put_Line (Language (1) & Language (2) & Language (3));
end Lang;

The output is:

$ ./lang
ZZ
und
$ locale
LANG=fo_FO.ISO-8859-1
[...]
LC_ALL=
$

The expected output was:

$ ./lang
FO
fae
$

Thanks,

Jacob

-- System Information:
Debian Release: 8.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=da_DK.ISO-8859-1, LC_CTYPE=da_DK.ISO-8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnat depends on:
ii  gnat-4.9  4.9.2-1

Versions of packages gnat recommends:
ii  ada-reference-manual-2012  1:2012.2-3
ii  gnat-gps                   5.3dfsg-1

gnat suggests no packages.

-- no debconf information

Reply via email to