Commit 30b97e8c authored by David Johnson's avatar David Johnson

Arch Linux does not allow uppercase chars in user/group names, ugh!!

Because of the rolling release nature of Arch, there is no point to
commit the rest of the modifications to the PKGBUILD file; it's
trivially obvious anyway.  This is mostly just left as a placeholder if
we ever actually care again.  I feel confident we will not.
parent 1a83d523
--- libmisc/chkname.c~ 2017-11-21 15:59:55.560838330 -0700
+++ libmisc/chkname.c 2017-11-21 16:01:17.520596721 -0700
@@ -52,12 +52,13 @@
* User/group names must match [a-z_][a-z0-9_-]*[$]
*/
if (('\0' == *name) ||
- !((('a' <= *name) && ('z' >= *name)) || ('_' == *name))) {
+ !((('a' <= *name) && ('z' >= *name)) || (('A' <= *name) && ('Z' >= *name)) || ('_' == *name))) {
return false;
}
while ('\0' != *++name) {
if (!(( ('a' <= *name) && ('z' >= *name) ) ||
+ ( ('A' <= *name) && ('Z' >= *name) ) ||
( ('0' <= *name) && ('9' >= *name) ) ||
('_' == *name) ||
('-' == *name) ||
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment