projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean-up: coding style adjustments
[babeltrace.git]
/
plugins
/
ctf
/
fs-sink
/
write.c
diff --git
a/plugins/ctf/fs-sink/write.c
b/plugins/ctf/fs-sink/write.c
index feee19472fe086fc7c3a90258e734b50f0ad0053..b3ad7462eb4f43caeb3a46471b25238833f4304a 100644
(file)
--- a/
plugins/ctf/fs-sink/write.c
+++ b/
plugins/ctf/fs-sink/write.c
@@
-195,13
+195,14
@@
bool valid_single_trace_path(const char *path)
DIR *dir = opendir(path);
int ret;
- /*
n
on-existent directory. */
+ /*
N
on-existent directory. */
if (!dir) {
ret = 0;
goto end;
}
while ((d = readdir(dir)) != NULL) {
+ /* Ignore "." and ".." directories. */
if (++n > 2) {
break;
}
This page took
0.031335 seconds
and
4
git commands to generate.