[smbfs] Allow semicolon in mounts that support long names

Semicolon is a legal character in long names but not in 8.3 format.
Move it to respective character set.

PR:		140068
Submitted by:	tom@uffner.com
MFC after:	3 weeks
This commit is contained in:
Oleksandr Tymoshenko 2019-01-20 05:52:16 +00:00
parent f280f93df7
commit 52b2c8e242
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343209

View File

@ -1120,8 +1120,8 @@ smbfs_advlock(ap)
static int
smbfs_pathcheck(struct smbmount *smp, const char *name, int nmlen, int nameiop)
{
static const char *badchars = "*/:<>;?";
static const char *badchars83 = " +|,[]=";
static const char *badchars = "*/:<>?";
static const char *badchars83 = " +|,[]=;";
const char *cp;
int i, error;