git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5bb9200
)
Improve the format of the --iterations output.
author
Wayne Davison
<wayned@samba.org>
Sun, 6 Jul 2003 18:29:24 +0000
(18:29 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 6 Jul 2003 18:29:24 +0000
(18:29 +0000)
wildtest.c
patch
|
blob
|
history
diff --git
a/wildtest.c
b/wildtest.c
index b58209932cdbab0c41999b994ea5532ad42f7768..3c40e4ae5504c9fb6313e64d48f507d7a78c2349 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