From d913db1f7b3fed4693ae823cca1699cfe88a0c4c Mon Sep 17 00:00:00 2001 From: Antoni Sawicki Date: Mon, 10 Jun 2019 17:36:48 -0700 Subject: removed duplicate log file extension --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dir.c b/dir.c index 3304b7d..033146e 100644 --- a/dir.c +++ b/dir.c @@ -51,7 +51,7 @@ void dir_icoinita(void) { regcomp(®_pdf, "\\.(pdf|ps|eps|ai)$", REG_EXTENDED | REG_ICASE)!=0 || regcomp(®_exe, "\\.(exe|com|pif)$", REG_EXTENDED | REG_ICASE)!=0 || regcomp(®_lnk, "\\.(url|lnk|desktop|shortcut|webloc)$", REG_EXTENDED | REG_ICASE)!=0 || - regcomp(®_txt, "\\.(txt|asc|nfo|me|md|log|htm|html|shtml|js|jsp|php|xml|dtd|css|bas|c|h|cpp|cmd|bat|sh|ksh|awk|reg|log|bak|cfg|conf|py|json|yaml)$", REG_EXTENDED | REG_ICASE)!=0 + regcomp(®_txt, "\\.(txt|asc|nfo|me|md|log|htm|html|shtml|js|jsp|php|xml|dtd|css|bas|c|h|cpp|cmd|bat|sh|ksh|awk|reg|bak|cfg|conf|py|json|yaml)$", REG_EXTENDED | REG_ICASE)!=0 ) error("Unable to compile regex."); } -- cgit v1.2.3