about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;