Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve the format of the --iterations output.
[rsync/rsync.git]
/
wildtest.c
diff --git
a/wildtest.c
b/wildtest.c
index
b582099
..
3c40e4a
100644
(file)
--- a/
wildtest.c
+++ b/
wildtest.c
@@
-59,8
+59,10
@@
run_test(int line, bool matches, bool same_as_fnmatch,
fnmatch_errors++;
}
#endif
- if (output_iterations)
- printf("[%s] iterations = %d\n", pattern, wildmatch_iteration_count);
+ if (output_iterations) {
+ printf("%d: \"%s\" iterations = %d\n", line, pattern,
+ wildmatch_iteration_count);
+ }
}
int