summaryrefslogtreecommitdiff
path: root/trust/save.c
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2013-07-16 17:14:56 +0200
committerStef Walter <stef@thewalter.net>2013-07-17 14:45:42 +0200
commit82738fe7d6143cb25fc1cb201a75b8a071043be8 (patch)
tree0c3cc205eef9c93ec84683799ef5542216535017 /trust/save.c
parentd00f6b24e5349d8d37868b8f4451b1dc9b38767e (diff)
downloadp11-kit-82738fe7d6143cb25fc1cb201a75b8a071043be8.tar.gz
Remove erroneous comments about readdir() and thread-safety
https://bugzilla.redhat.com/show_bug.cgi?id=984989
Diffstat (limited to 'trust/save.c')
-rw-r--r--trust/save.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/trust/save.c b/trust/save.c
index 1533c08..acef483 100644
--- a/trust/save.c
+++ b/trust/save.c
@@ -543,7 +543,6 @@ cleanup_directory (const char *directory,
remove = p11_dict_new (p11_dict_str_hash, p11_dict_str_equal, free, NULL);
- /* We're within a global mutex, so readdir is safe */
while ((dp = readdir (dir)) != NULL) {
if (p11_dict_get (cache, dp->d_name))
continue;