aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-02-24 11:01:08 +0100
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-02-24 11:01:08 +0100
commit12c6cf45c5e4ecf756468b98a48972212be8991f (patch)
tree0aefb1211c3d4f491c9ddf489f5786f4cad3fb79
parentf099bd2d99c5d3172be82dfce07a47abc539d3fa (diff)
downloadlv2lint-12c6cf45c5e4ecf756468b98a48972212be8991f.zip
lv2lint-12c6cf45c5e4ecf756468b98a48972212be8991f.tar.gz
lv2lint-12c6cf45c5e4ecf756468b98a48972212be8991f.tar.bz2
lv2lint-12c6cf45c5e4ecf756468b98a48972212be8991f.tar.xz
only report 10 visible symbols and truncate rest.
-rw-r--r--VERSION2
-rw-r--r--lv2lint.c7
2 files changed, 7 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 10cdb5e..fb129ed 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.277
+0.1.279
diff --git a/lv2lint.c b/lv2lint.c
index 8667a15..9dace0d 100644
--- a/lv2lint.c
+++ b/lv2lint.c
@@ -694,7 +694,12 @@ test_visibility(const char *path, const char *description, char **symbols)
if(!whitelist_match)
{
- _append_to(symbols, name);
+ if(invalid <= 10)
+ {
+ _append_to(symbols, (invalid == 10)
+ ? "... there is more, but the rest is being truncated"
+ : name);
+ }
invalid++;
}
}