mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
[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:
parent
f280f93df7
commit
52b2c8e242
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343209
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user