lib: Fix "is_case_sensitive" in "ms_fnmatch_protocol"' callers
commit129015d1a664e97410fa5fe2aef6bd8c494ffb5b
authorVolker Lendecke <vl@samba.org>
Sun, 12 Feb 2017 19:12:10 +0000 (12 20:12 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 15 Feb 2017 10:40:32 +0000 (15 11:40 +0100)
treef25bf9868a5a2383ea5f24362061a95a08f84a9e
parente08110ece699eeb1b9ef688c92bf84c69a6fa5fc
lib: Fix "is_case_sensitive" in "ms_fnmatch_protocol"' callers

In the optimization in f969be54417 I got the boolean flag "is_case_sensitive"
wrong. The behaviour was case *insensitive*, so all the flags should have been
"false", keeping the old behaviour.  While there, simplify "mask_match" in
source4 client.c

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Feb 15 11:40:32 CET 2017 on sn-devel-144
source4/client/client.c
source4/ntvfs/cifs_posix_cli/svfs_util.c
source4/ntvfs/posix/pvfs_dirlist.c
source4/ntvfs/simple/svfs_util.c
source4/torture/masktest.c