summaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c
index dc917092..fa8283fb 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -106,6 +106,8 @@ parse_sloppiness(const char *str, void *result, char **errmsg)
*value |= SLOPPY_FILE_MACRO;
} else if (str_eq(word, "file_stat_matches")) {
*value |= SLOPPY_FILE_STAT_MATCHES;
+ } else if (str_eq(word, "file_stat_matches_ctime")) {
+ *value |= SLOPPY_FILE_STAT_MATCHES_CTIME;
} else if (str_eq(word, "include_file_ctime")) {
*value |= SLOPPY_INCLUDE_FILE_CTIME;
} else if (str_eq(word, "include_file_mtime")) {
@@ -656,6 +658,9 @@ conf_print_items(struct conf *conf,
if (conf->sloppiness & SLOPPY_FILE_STAT_MATCHES) {
reformat(&s, "%sfile_stat_matches, ", s);
}
+ if (conf->sloppiness & SLOPPY_FILE_STAT_MATCHES_CTIME) {
+ reformat(&s, "%sfile_stat_matches_ctime, ", s);
+ }
if (conf->sloppiness & SLOPPY_NO_SYSTEM_HEADERS) {
reformat(&s, "%sno_system_headers, ", s);
}