summaryrefslogtreecommitdiff
path: root/trust/token.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/token.c
parentd00f6b24e5349d8d37868b8f4451b1dc9b38767e (diff)
Remove erroneous comments about readdir() and thread-safety
https://bugzilla.redhat.com/show_bug.cgi?id=984989
Diffstat (limited to 'trust/token.c')
-rw-r--r--trust/token.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/trust/token.c b/trust/token.c
index 0641619..c91acd2 100644
--- a/trust/token.c
+++ b/trust/token.c
@@ -260,7 +260,6 @@ loader_load_directory (p11_token *token,
return 0;
}
- /* We're within a global mutex, so readdir is safe */
while ((dp = readdir (dir)) != NULL) {
path = p11_path_build (directory, dp->d_name, NULL);
return_val_if_fail (path != NULL, -1);