Date: Mon, 11 Feb 2019 08:52:48 +0000 (UTC) From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r344000 - stable/12/sys/fs/smbfs Message-ID: <201902110852.x1B8qmA0031056@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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: tom@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902110852.x1B8qmA0031056>