Skip to content

Commit 78045d8

Browse files
authored
Add LICENSE notice of NetBSD's strptime() to COPYING (#3344)
1 parent 7cc202a commit 78045d8

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

COPYING

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,35 @@ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
142142
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
143143
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
144144
OF THE POSSIBILITY OF SUCH DAMAGE.
145+
146+
147+
148+
jq uses a modified version of NetBSD implementation strptime(),
149+
which is distributed under the following license:
150+
151+
Copyright (c) 1997, 1998, 2005, 2008 The NetBSD Foundation, Inc.
152+
All rights reserved.
153+
154+
This code was contributed to The NetBSD Foundation by Klaus Klein.
155+
Heavily optimised by David Laight
156+
157+
Redistribution and use in source and binary forms, with or without
158+
modification, are permitted provided that the following conditions
159+
are met:
160+
1. Redistributions of source code must retain the above copyright
161+
notice, this list of conditions and the following disclaimer.
162+
2. Redistributions in binary form must reproduce the above copyright
163+
notice, this list of conditions and the following disclaimer in the
164+
documentation and/or other materials provided with the distribution.
165+
166+
THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
167+
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
168+
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
169+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
170+
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
171+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
172+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
173+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
174+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
175+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
176+
POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)