plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit ac487c754e009b0f3c01c2a8ad5bda2143da4a6b
parent 6c8e44dd2e3b346ad5e313830ef22ee7b0a9df04
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:
Msrc/cmd/acme/look.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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))