summaryrefslogtreecommitdiff
path: root/src/basic/fd-util.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-04-27 08:59:12 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-04-27 09:26:16 -0400
commitddb3706d2643461a9b03044bd215e53c981d755b (patch)
tree76ab367ca717ec7d38e46b1bd2a56e6cb6c7118f /src/basic/fd-util.c
parentb1e02ee7cf27654359f3b7843df4d4d4b52608cc (diff)
basic/dirent-util: do not call hidden_file_allow_backup from dirent_is_file_with_suffix
If the file name is supposed to end in a suffix, there's not need to check the name against a list of "special" file names, which is slow. Instead, just check that the name doens't start with a period.
Diffstat (limited to 'src/basic/fd-util.c')
0 files changed, 0 insertions, 0 deletions