NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/40202: Wrong spelling of 'portuguese' on sysinstall



>Number:         40202
>Category:       misc
>Synopsis:       Wrong spelling of 'portuguese' on sysinstall
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 16 22:45:00 +0000 2008
>Originator:     Ari Constancio
>Release:        5.99.5
>Organization:
>Environment:
NetBSD C26 5.99.5 NetBSD 5.99.5 (GENERIC) #1: Tue Dec 16 18:55:14 WET 2008 
root@C26:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
When choosing the keyboard type on sysinst, the spelling of 'portuguese' is 
wrong ('portugese' is seen).
>How-To-Repeat:
Run sysinst and check keyboard type
>Fix:
Apply the following patch:

Index: wsemul_vt100.c
===================================================================
RCS file: /cvsroot/src/sys/dev/wscons/wsemul_vt100.c,v
retrieving revision 1.30
diff -u -r1.30 wsemul_vt100.c
--- wsemul_vt100.c      16 Nov 2006 01:33:31 -0000      1.30
+++ wsemul_vt100.c      16 Dec 2008 22:30:29 -0000
@@ -662,7 +662,7 @@
        int nrc;
 
        switch (c) {
-       case '%': /* probably portugese */
+       case '%': /* probably portuguese */
                newstate = VT100_EMUL_STATE_SCS96_PERCENT;
                break;
        case 'A': /* ISO-latin-1 supplemental */
@@ -713,7 +713,7 @@
 wsemul_vt100_output_scs96_percent(struct wsemul_vt100_emuldata *edp, u_char c)
 {
        switch (c) {
-       case '6': /* portugese */
+       case '6': /* portuguese */
                vt100_setnrc(edp, 8);
                break;
        default:
Index: wsksymdef.h
===================================================================
RCS file: /cvsroot/src/sys/dev/wscons/wsksymdef.h,v
retrieving revision 1.61
diff -u -r1.61 wsksymdef.h
--- wsksymdef.h 21 May 2008 07:39:24 -0000      1.61
+++ wsksymdef.h 16 Dec 2008 22:30:29 -0000
@@ -590,7 +590,7 @@
 action(KB_JP,  0,      0x0800, "jp",   ,       "Japanese")     \
 action(KB_NO,  0,      0x0a00, "no",   ,       "Norwegian")    \
 action(KB_PL,  0,      0x0d00, "pl",   ,       "Polish")       \
-action(KB_PT,  0,      0x1100, "pt",   ,       "Portugese")    \
+action(KB_PT,  0,      0x1100, "pt",   ,       "Portuguese")   \
 action(KB_RU,  0,      0x0e00, "ru",   ,       "Russian")      \
 action(KB_ES,  0,      0x0b00, "es",   ,       "Spanish")      \
 action(KB_SV,  0,      0x0900, "sv",   ,       "Swedish")      \



Home | Main Index | Thread Index | Old Index