acme: allow @ in file names
For upspin and other tools that put email addresses in names.
This commit is contained in:
@@ -378,7 +378,7 @@ search(Text *ct, Rune *r, uint n)
|
|||||||
int
|
int
|
||||||
isfilec(Rune r)
|
isfilec(Rune r)
|
||||||
{
|
{
|
||||||
static Rune Lx[] = { '.', '-', '+', '/', ':', 0 };
|
static Rune Lx[] = { '.', '-', '+', '/', ':', '@', 0 };
|
||||||
if(isalnum(r))
|
if(isalnum(r))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
if(runestrchr(Lx, r))
|
if(runestrchr(Lx, r))
|
||||||
|
|||||||
Reference in New Issue
Block a user