acme: allow @ in file names

For upspin and other tools that put email addresses in names.
This commit is contained in:
Russ Cox 2020-12-30 14:42:47 -05:00
parent 6c8e44dd2e
commit ac487c754e

View file

@ -378,7 +378,7 @@ search(Text *ct, Rune *r, uint n)
int
isfilec(Rune r)
{
static Rune Lx[] = { '.', '-', '+', '/', ':', 0 };
static Rune Lx[] = { '.', '-', '+', '/', ':', '@', 0 };
if(isalnum(r))
return TRUE;
if(runestrchr(Lx, r))