2
===================================================================
3
--- syslogd.c (Revision 864)
4
+++ syslogd.c (Arbeitskopie)
8
uchar szFullFileName[MAXFNAME];
11
assert(pDirName != NULL);
13
@@ -3696,6 +3697,10 @@
14
continue; /* we are not interested in special files */
15
if(res->d_name[0] == '.')
16
continue; /* these files we are also not interested in */
17
+ ext = strstr(res->d_name, ".conf");
18
+ if(ext == NULL || strlen(ext) != 5)
19
+ continue; /* Ignore files not ending in *.conf */
22
/* construct filename */
23
iFileNameLen = strnlen(res->d_name, NAME_MAX);