projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- prepare release 0.21.0
[m6w6/ext-http]
/
funcsummary.php
diff --git
a/funcsummary.php
b/funcsummary.php
index f4830e022223a79d2211c7b9f62fadc247b3e2ad..6b1f0421781772999fa7ce6b81909fbcee46ccf7 100644
(file)
--- a/
funcsummary.php
+++ b/
funcsummary.php
@@
-113,9
+113,14
@@
$TOC = array();
printf($preface, basename(getcwd()));
printf($preface, basename(getcwd()));
+$seen = array();
foreach (array_slice($_SERVER['argv'], 1) as $fp) {
foreach (glob($fp) as $f) {
foreach (array_slice($_SERVER['argv'], 1) as $fp) {
foreach (glob($fp) as $f) {
-
+ if (isset($seen[$f])) {
+ continue;
+ } else {
+ $seen[$f] = true;
+ }
if (mf($f, $m)) {
e("\nAnalyzing %s\n", basename($f));
printf("<h1 id=\"%s\">%s</h1>\n", basename($f), basename($f));
if (mf($f, $m)) {
e("\nAnalyzing %s\n", basename($f));
printf("<h1 id=\"%s\">%s</h1>\n", basename($f), basename($f));