]> git.ipfire.org Git - thirdparty/samba.git/commit
s3/smbd: move check for "hide files" to dos_mode_from_name()
authorRalph Boehme <slow@samba.org>
Thu, 23 Jun 2016 15:14:55 +0000 (17:14 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Jun 2016 14:11:19 +0000 (16:11 +0200)
commit8ecd8a2a0900786ad45beaf9f890d579ecd1c270
tree45b35e1fa068ee59ff900c7a850ad02dd3cc9e1e
parentd728bc49bd5ff427139061eb45c5179db48bdf15
s3/smbd: move check for "hide files" to dos_mode_from_name()

Consolidate the "hide dot files" and "hide files" handling stuff in one
function. No change in overall behaviour.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11992

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit f2a53efb1aab0986d6a7d9621b1efff2127df4e6)
source3/smbd/dosmode.c