Author: gonzo
Date: Mon Feb 11 08:52:48 2019
New Revision: 344000
URL: https://svnweb.freebsd.org/changeset/base/344000

Log:
  MFC r343209:
  
  [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

Modified:
  stable/12/sys/fs/smbfs/smbfs_vnops.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/fs/smbfs/smbfs_vnops.c
==============================================================================
--- stable/12/sys/fs/smbfs/smbfs_vnops.c        Mon Feb 11 08:49:56 2019        
(r343999)
+++ stable/12/sys/fs/smbfs/smbfs_vnops.c        Mon Feb 11 08:52:48 2019        
(r344000)
@@ -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