Changeset 131 for trunk/src/sh_kern.c
- Timestamp:
- Oct 22, 2007, 11:19:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_kern.c
r114 r131 58 58 59 59 #include "samhain.h" 60 #include "sh_pthread.h" 60 61 #include "sh_utils.h" 61 62 #include "sh_error.h" … … 966 967 if (df) 967 968 { 969 SH_MUTEX_LOCK(readdir_lock); 970 968 971 while (NULL != (entry = readdir(df))) 969 972 { … … 977 980 SH_FREE(pcipath); 978 981 } 982 983 SH_MUTEX_UNLOCK(readdir_lock); 984 979 985 closedir(df); 980 986 }
Note:
See TracChangeset
for help on using the changeset viewer.