Author: gonzo
Date: Sun Jan 20 05:52:16 2019
New Revision: 343209
URL: https://svnweb.freebsd.org/changeset/base/343209

Log:
  [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: t...@uffner.com
  MFC after:    3 weeks

Modified:
  head/sys/fs/smbfs/smbfs_vnops.c

Modified: head/sys/fs/smbfs/smbfs_vnops.c
==============================================================================
--- head/sys/fs/smbfs/smbfs_vnops.c     Sun Jan 20 03:58:21 2019        
(r343208)
+++ head/sys/fs/smbfs/smbfs_vnops.c     Sun Jan 20 05:52:16 2019        
(r343209)
@@ -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;
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to