aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-12-30 14:42:47 -0500
committerRuss Cox <rsc@swtch.com>2020-12-30 14:44:01 -0500
commitac487c754e009b0f3c01c2a8ad5bda2143da4a6b (patch)
tree7b583e1031ea5ce4120e0d22e0809f33da9d69bc
parent6c8e44dd2e3b346ad5e313830ef22ee7b0a9df04 (diff)
downloadplan9port-ac487c754e009b0f3c01c2a8ad5bda2143da4a6b.tar.gz
plan9port-ac487c754e009b0f3c01c2a8ad5bda2143da4a6b.tar.bz2
plan9port-ac487c754e009b0f3c01c2a8ad5bda2143da4a6b.zip
acme: allow @ in file names
For upspin and other tools that put email addresses in names.
-rw-r--r--src/cmd/acme/look.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/acme/look.c b/src/cmd/acme/look.c
index 35667c6c..a7172b50 100644
--- a/src/cmd/acme/look.c
+++ b/src/cmd/acme/look.c
@@ -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))