To: | krb5-bugs@mit.edu |
Subject: | Typo in chpw.c release krb5-1.12.1 |
From: | Lorraine Gray <lgray@us.ibm.com> |
Date: | Mon, 31 Mar 2014 11:19:53 -0400 |
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
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@us.ibm.com | Marlborough, MA 01752 | |
USA | |||
| |||