summaryrefslogtreecommitdiff
path: root/net/rdist6/files/patch-docmd.c
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-03-23 22:54:09 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-03-23 22:54:09 +0000
commit364c01ced5ca3e8e1af89d3b8a64107aaa56b5b9 (patch)
tree1589d29c9cfc1742e76a39c8fca6881792537785 /net/rdist6/files/patch-docmd.c
parentUpdate to 1.4 (diff)
accounts with a . are valid
strip -> ${STRIP_CMD} while i'm here PR:i 31462 Submitted by: pirzyk
Notes
Notes: svn path=/head/; revision=77322
Diffstat (limited to 'net/rdist6/files/patch-docmd.c')
-rw-r--r--net/rdist6/files/patch-docmd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/rdist6/files/patch-docmd.c b/net/rdist6/files/patch-docmd.c
new file mode 100644
index 000000000000..6577745a992f
--- /dev/null
+++ b/net/rdist6/files/patch-docmd.c
@@ -0,0 +1,11 @@
+--- src/docmd.c.orig Mon Nov 9 20:08:32 1998
++++ src/docmd.c Tue Oct 23 14:32:06 2001
+@@ -611,7 +624,7 @@
+ c = *cp;
+ if (c & 0200)
+ isbad = TRUE;
+- if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-')
++ if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-' && c != '.' )
+ isbad = TRUE;
+ }
+