acme: allow @ in file names
For upspin and other tools that put email addresses in names.
This commit is contained in:
parent
6c8e44dd2e
commit
ac487c754e
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue