[krbdev.mit.edu #7896] Typo in chpw.c release krb5-1.12.1

Lorraine Gray via RT rt-comment at krbdev.mit.edu
Mon Mar 31 12:34:03 EDT 2014


In file:

I believe that the following is a typo and the upper case 'N' in Ngettext 
(see context below, around line 444) should be a lower case 'n' (i.e. 
ngettext as I corrected in the code)

    if (policy.min_length_password > 0) {
        add_spaces(&buf);

        // LGray Netezza/IBM corrected typo in next line which had 
uppercase N for ngettext call
        k5_buf_add_fmt(&buf, ngettext("The password must contain at least 
%d "
                                      "character.",
                                      "The password must contain at least 
%d "
                                      "characters.",
                                      policy.min_length_password),
                       policy.min_length_password);
    }
    if (policy.password_history) {
        add_spaces(&buf);
        k5_buf_add_fmt(&buf, ngettext("The password must be different from 
"
                                      "the previous password.",
                                      "The password must be different from 
"
                                      "the previous %d passwords.",
                                      policy.password_history),
                       policy.password_history);
    }


Lorraine Gray
Advisory SW Engineer
IBM Software Group, Information Management


Phone:
1-508-382-4133 
 Netezza, an IBM company

Fax:
1-508-382-8300
 26 Forest St
E-Mail:
lgray at us.ibm.com
 Marlborough, MA 01752


 USA









More information about the krb5-bugs mailing list