projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b53e1f7
)
ccanlint: recognise new BSD 3-clause license.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 22 Feb 2011 03:35:51 +0000
(14:05 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 22 Feb 2011 03:35:51 +0000
(14:05 +1030)
tools/ccanlint/tests/license_exists.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/tests/license_exists.c
b/tools/ccanlint/tests/license_exists.c
index 1ae27dd35266e6a7ca1fd9f55626dae69587a37e..83bc769a084e3d8f28842fb8c2fd40fd7b04cab0 100644
(file)
--- a/
tools/ccanlint/tests/license_exists.c
+++ b/
tools/ccanlint/tests/license_exists.c
@@
-51,10
+51,11
@@
static const char *expected_link(const struct manifest *m,
|| streq(d->lines[0], "LGPLv2 (or later)")
|| streq(d->lines[0], "LGPL (2 or any later version)"))
return "../../licenses/LGPL-2.1";
|| streq(d->lines[0], "LGPLv2 (or later)")
|| streq(d->lines[0], "LGPL (2 or any later version)"))
return "../../licenses/LGPL-2.1";
- if (streq(d->lines[0], "BSD")
- || streq(d->lines[0], "BSD-MIT")
+ if (streq(d->lines[0], "BSD-MIT")
|| streq(d->lines[0], "MIT"))
return "../../licenses/BSD-MIT";
|| streq(d->lines[0], "MIT"))
return "../../licenses/BSD-MIT";
+ if (streq(d->lines[0], "BSD (3 clause)"))
+ return "../../licenses/BSD-3CLAUSE";
return NULL;
}
return NULL;
}