mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
mangle_hash2: remove LOCK$ from list of reserved names
see also: https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN BUG: https://bugzilla.samba.org/show_bug.cgi?id=8776 Signed-off-by: Bjoern Jacke <bjacke@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Aug 24 19:26:59 UTC 2021 on sn-devel-184
This commit is contained in:
parent
c653f8054e
commit
6248eab510
@ -101,7 +101,7 @@ static const char basechars[36] = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||
|
||||
/* the list of reserved dos names - all of these are illegal */
|
||||
static const char * const reserved_names[] =
|
||||
{ "AUX", "LOCK$", "CON",
|
||||
{ "AUX", "CON",
|
||||
"COM1", "COM2", "COM3", "COM4", "COM5", "COM6", "COM7", "COM8", "COM9",
|
||||
"LPT1", "LPT2", "LPT3", "LPT4", "LPT5", "LPT6", "LPT7", "LPT8", "LPT9",
|
||||
"NUL", "PRN", NULL };
|
||||
|
Loading…
x
Reference in New Issue
Block a user