8000 Merge pull request #6413 from martinvonz/bsd-2-clause · libgit2/libgit2@33e1c98 · GitHub
[go: up one dir, main page]

Skip to content

Commit 33e1c98

Browse files
authored
Merge pull request #6413 from martinvonz/bsd-2-clause
add 2-clause BSD license to COPYING
2 parents 8c7345e + aa1605d commit 33e1c98

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

COPYING

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,3 +1184,33 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
11841184
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
11851185
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11861186

1187+
----------------------------------------------------------------------
1188+
1189+
The built-in git_fs_path_basename_r() function is based on the
1190+
Android implementation, BSD licensed:
1191+
1192+
Copyright (C) 2008 The Android Open Source Project
1193+
All rights reserved.
1194+
1195+
Redistribution and use in source and binary forms, with or without
1196+
modification, are permitted provided that the following conditions
1197+
are met:
1198+
* Redistributions of source code must retain the above copyright
1199+
notice, this list of conditions and the following disclaimer.
1200+
* Redistributions in binary form must reproduce the above copyright
1201+
notice, this list of conditions and the following disclaimer in
1202+
the documentation and/or other materials provided with the
1203+
distribution.
1204+
1205+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1206+
AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1207+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1208+
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
1209+
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
1210+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
1211+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
1212+
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
1213+
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
1214+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
1215+
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1216+
SUCH DAMAGE.

0 commit comments

Comments
 (0)
0