about summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-07-15 15:23:10 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-07-15 15:23:10 +0000
commit4f7cf022b6963985a75c5a00ef59c7168551b225 (patch)
treebbf8af83564601bb0859beafffd906b52b28ce54 /Src/utils.c
parent902289b82e3717184ac0f330f9472f2117c805e8 (diff)
downloadzsh-4f7cf022b6963985a75c5a00ef59c7168551b225.tar.gz
zsh-4f7cf022b6963985a75c5a00ef59c7168551b225.tar.xz
zsh-4f7cf022b6963985a75c5a00ef59c7168551b225.zip
users/13036: "." is a valid character in a user name
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c
index 7195fe223..154ca8627 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -2981,7 +2981,7 @@ inittyptab(void)
 	typtab[t0] = IALPHA | IALNUM | IIDENT | IUSER | IWORD;
 #endif
     typtab['_'] = IIDENT | IUSER;
-    typtab['-'] = IUSER;
+    typtab['-'] = typtab['.'] = IUSER;
     typtab[' '] |= IBLANK | INBLANK;
     typtab['\t'] |= IBLANK | INBLANK;
     typtab['\n'] |= INBLANK;