Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2022 23:33:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 265319] localedef -c explodes with internal fault (/usr/src/usr.bin/localedef/localedef.c:89)
Message-ID:  <bug-265319-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265319

            Bug ID: 265319
           Summary: localedef -c explodes with internal fault
                    (/usr/src/usr.bin/localedef/localedef.c:89)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: nabijaczleweli@nabijaczleweli.xyz

[build@build /tmp]$ uname -a
FreeBSD build 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac=
2212
GENERIC amd64

[build@build /tmp]$ localedef  -cv ./"cs_CZ.UTF-8"
Processing locale ./cs_CZ.UTF-8.
Loading POSIX portable characters.
internal fault (/usr/src/usr.bin/localedef/localedef.c:89)^C

This appears to correspond to the INTERR in
const char *
category_name(void)
{
        switch (get_category()) {
        case T_CHARMAP:
                return ("CHARMAP");
        case T_WIDTH:
                return ("WIDTH");
        case T_COLLATE:
                return ("LC_COLLATE");
        case T_CTYPE:
                return ("LC_CTYPE");
        case T_MESSAGES:
                return ("LC_MESSAGES");
        case T_MONETARY:
                return ("LC_MONETARY");
        case T_NUMERIC:
                return ("LC_NUMERIC");
        case T_TIME:
                return ("LC_TIME");
        default:
                INTERR;
                return (NULL);
        }
}

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265319-227>