summary refs log tree commit diff
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
parent902289b82e3717184ac0f330f9472f2117c805e8 (diff)
downloadzsh-4f7cf022b6963985a75c5a00ef59c7168551b225.tar.gz
zsh-4f7cf022b6963985a75c5a00ef59c7168551b225.tar.xz
zsh-4f7cf022b6963985a75c5a00ef59c7168551b225.zip
users/13036: "." is a valid character in a user name
-rw-r--r--ChangeLog5
-rw-r--r--Src/utils.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b77e5333..5d41e6f07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-15  Peter Stephenson  <pws@csr.com>
+
+	* users/13036: Src/utils.c: "." is a valid character in
+	a user name.
+
 2008-07-14  Peter Stephenson  <pws@csr.com>
 
 	* 25278: Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo,
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;