Codebase list krb5 / dff6aac
Relicense ccapi/common/win/OldCC/autolock.hxx With permission from Danilo Almeida, change the license on autolock.hxx to the 2-clause BSD license used by MIT krb5. (cherry picked from commit 90bfe396781c3b2a427c95dd2e58a234027ff269) ticket: 8520 version_fixed: 1.15 Greg Hudson authored 7 years ago Tom Yu committed 7 years ago
3 changed file(s) with 92 addition(s) and 22 deletion(s). Raw diff Collapse all Expand all
12831283 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
12841284 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
12851285 OF THE POSSIBILITY OF SUCH DAMAGE.
1286
1287 ======================================================================
1288
1289 The following notice applies to
1290 "src/ccapi/common/win/OldCC/autolock.hxx":
1291
1292 Copyright (C) 1998 by Danilo Almeida. All rights reserved.
1293
1294 Redistribution and use in source and binary forms, with or without
1295 modification, are permitted provided that the following conditions
1296 are met:
1297
1298 * Redistributions of source code must retain the above copyright
1299 notice, this list of conditions and the following disclaimer.
1300
1301 * Redistributions in binary form must reproduce the above
1302 copyright notice, this list of conditions and the following
1303 disclaimer in the documentation and/or other materials provided
1304 with the distribution.
1305
1306 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1307 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1308 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1309 FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
1310 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
1311 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1312 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1313 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1314 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1315 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1316 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
1317 OF THE POSSIBILITY OF SUCH DAMAGE.
12041204 TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
12051205 THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
12061206 SUCH DAMAGE.
1207
1208 -------------------
1209
1210 The following notice applies to
1211 ``src/ccapi/common/win/OldCC/autolock.hxx``:
1212
1213 Copyright (C) 1998 by Danilo Almeida. All rights reserved.
1214
1215 Redistribution and use in source and binary forms, with or without
1216 modification, are permitted provided that the following conditions
1217 are met:
1218
1219 * Redistributions of source code must retain the above copyright
1220 notice, this list of conditions and the following disclaimer.
1221
1222 * Redistributions in binary form must reproduce the above copyright
1223 notice, this list of conditions and the following disclaimer in
1224 the documentation and/or other materials provided with the
1225 distribution.
1226
1227 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1228 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1229 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1230 FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
1231 COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
1232 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1233 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1234 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1235 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
1236 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1237 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
1238 OF THE POSSIBILITY OF SUCH DAMAGE.
0 /* ccapi/common/win/OldCC/autolock.hxx */
01 /*
1
2 Copyright (C) 1998 Danilo Almeida. All rights reserved.
3
4 automatic stack-based locking object
5
6 This file is part of FIFS (Framework for Implementing File Systems).
7
8 This software is distributed with NO WARRANTY OF ANY KIND. No
9 author or distributor accepts any responsibility for the
10 consequences of using it, or for whether it serves any particular
11 purpose or works at all, unless he or she says so in writing.
12 Refer to the included modified Alladin Free Public License (the
13 "License") for full details.
14
15 Every copy of this software must include a copy of the License, in
16 a plain ASCII text file named COPYING. The License grants you the
17 right to copy, modify and redistribute this software, but only
18 under certain conditions described in the License. Among other
19 things, the License requires that the copyright notice and this
20 notice be preserved on all copies.
21
22 */
2 * Copyright (C) 1998 by Danilo Almeida. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 *
11 * * Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in
13 * the documentation and/or other materials provided with the
14 * distribution.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
19 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
20 * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
21 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
27 * OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
2329
2430 #ifndef __AUTOLOCK_HXX__
2531 #define __AUTOLOCK_HXX__