tacme: allow @ in file names - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit ac487c754e009b0f3c01c2a8ad5bda2143da4a6b
(DIR) parent 6c8e44dd2e3b346ad5e313830ef22ee7b0a9df04
(HTM) Author: Russ Cox <rsc@swtch.com>
Date: Wed, 30 Dec 2020 14:42:47 -0500
acme: allow @ in file names
For upspin and other tools that put email addresses in names.
Diffstat:
M src/cmd/acme/look.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/cmd/acme/look.c b/src/cmd/acme/look.c
t@@ -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))