FreeBSD Bugzilla – Attachment 164014 Details for
Bug 205157
[patch] pw(8) does not accept 8-bit characters in a GECOS field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch to make pw(8) accept 8-bit characters in a GECOS field.
pw_user.c.diff (text/plain), 520 bytes, created by
orios814
on 2015-12-09 13:22:51 UTC
(
hide
)
Description:
A patch to make pw(8) accept 8-bit characters in a GECOS field.
Filename:
MIME Type:
Creator:
orios814
Created:
2015-12-09 13:22:51 UTC
Size:
520 bytes
patch
obsolete
>--- pw_user.c 2015-12-09 21:48:26.284058000 +0900 >+++ pw_user.c.new 2015-12-09 21:20:49.576892000 +0900 >@@ -1230,7 +1230,7 @@ pw_checkname(char *name, int gecos) > } > if (!reject) { > while (*ch) { >- if (strchr(badchars, *ch) != NULL || *ch < ' ' || >+ if (strchr(badchars, *ch) != NULL || (*ch >= 0 && *ch < ' ') || > *ch == 127) { > reject = 1; > break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205157
: 164014