fossil: required p9p changes
R=rsc https://codereview.appspot.com/13352057
This commit is contained in:
parent
4b57665805
commit
b32de4ae73
15 changed files with 156 additions and 67 deletions
|
|
@ -338,7 +338,11 @@ int
|
|||
validUserName(char* name)
|
||||
{
|
||||
Rune *r;
|
||||
#ifdef PLAN9PORT
|
||||
static Rune invalid[] = {'#', ':', ',', '(', ')', '\0'};
|
||||
#else
|
||||
static Rune invalid[] = L"#:,()";
|
||||
#endif
|
||||
|
||||
for(r = invalid; *r != '\0'; r++){
|
||||
if(utfrune(name, *r))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue