opnsense-ports/net/rdist6/files/patch-docmd.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
309 B
C

--- 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;
}